mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
fix up BUILD_FFI_LIBRARY patch, urk
This commit is contained in:
parent
399c8d4339
commit
f3f5ca0a3a
@ -999,11 +999,11 @@ configure_file(tools/notcurses-ffi.pc.in
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/notcurses-ffi.pc
|
${CMAKE_CURRENT_BINARY_DIR}/notcurses-ffi.pc
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
configure_file(tools/notcurses++.pc.in
|
configure_file(tools/notcurses++.pc.in
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/notcurses++.pc
|
${CMAKE_CURRENT_BINARY_DIR}/notcurses++.pc
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
endif()
|
|
||||||
|
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
configure_file(tools/version.h.in include/version.h)
|
configure_file(tools/version.h.in include/version.h)
|
||||||
@ -1112,8 +1112,9 @@ endif()
|
|||||||
endif() # BUILD_EXECUTABLES
|
endif() # BUILD_EXECUTABLES
|
||||||
|
|
||||||
if(${BUILD_FFI_LIBRARY})
|
if(${BUILD_FFI_LIBRARY})
|
||||||
LIST(APPEND INSTLIBS notcurses-core notcurses notcurses-ffi)
|
LIST(APPEND INSTLIBS notcurses-ffi)
|
||||||
endif()
|
endif()
|
||||||
|
LIST(APPEND INSTLIBS notcurses-core notcurses)
|
||||||
if(${USE_STATIC})
|
if(${USE_STATIC})
|
||||||
LIST(APPEND INSTLIBS notcurses-core-static notcurses-static)
|
LIST(APPEND INSTLIBS notcurses-core-static notcurses-static)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user