mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-29 19:20:28 +00:00
Merge branch 'master' into clangen/upstream-pdcurses
This commit is contained in:
commit
dbf20187bf
@ -78,7 +78,9 @@ add_definitions(-DNCURSES_WIDECHAR)
|
||||
set_target_properties(musikcube PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
target_link_libraries(musikcube ${musikcube_LINK_LIBS} ncursesw panelw musikcore)
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(NCURSES REQUIRED ncursesw panelw)
|
||||
target_link_libraries(musikcube ${musikcube_LINK_LIBS} ${NCURSES_LIBRARIES} musikcore)
|
||||
else()
|
||||
target_link_libraries(musikcube ${musikcube_LINK_LIBS} curses panel musikcore)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user