Skip to content

Commit

Permalink
cmake: find finding cursesw
Browse files Browse the repository at this point in the history
The right variable for requesting the unicode version of curses is
CURSES_NEED_WIDE, not CMAKE_CURSES_NEED_WIDE [1].

[1] https://cmake.org/cmake/help/latest/module/FindCurses.html
  • Loading branch information
pinotree committed Aug 3, 2023
1 parent 69ab331 commit a7df7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_dependencies(examples counter-std)
# ncurses examples
# ================

set(CMAKE_CURSES_NEED_WIDE true)
set(CURSES_NEED_WIDE true)

find_package(Curses)

Expand Down

0 comments on commit a7df7a2

Please sign in to comment.