mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-07 09:54:55 +00:00
Syntax fix for OpenBSD CMake support.
This commit is contained in:
parent
b87c8d1152
commit
dfecbe96e5
@ -107,14 +107,14 @@ else()
|
||||
# pkg_check_modules(NCURSES REQUIRED ncurses panel)
|
||||
ensure_library_exists(ncurses)
|
||||
ensure_library_exists(panel)
|
||||
set(NCURSES_LIBRARIES, ncurses panel)
|
||||
set(NCURSES_LIBRARIES ncurses panel)
|
||||
message(STATUS "[ncurses] using library names without 'w' prefix")
|
||||
else()
|
||||
# pkg_check_modules fails on some systems, including OpenBSD.
|
||||
# pkg_check_modules(NCURSES REQUIRED ncursesw panelw)
|
||||
ensure_library_exists(ncursesw)
|
||||
ensure_library_exists(panelw)
|
||||
set(NCURSES_LIBRARIES, ncursesw panelw)
|
||||
set(NCURSES_LIBRARIES ncursesw panelw)
|
||||
message(STATUS "[ncurses] using library names with 'w' prefix")
|
||||
endif()
|
||||
target_link_libraries(musikcube ${musikcube_LINK_LIBS} ${NCURSES_LIBRARIES} musikcore)
|
||||
|
Loading…
Reference in New Issue
Block a user