From f3f5ca0a3aca376a58d0c7b8d3ad9aa5d24a8688 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 2 Jan 2022 19:42:45 -0500 Subject: [PATCH] fix up BUILD_FFI_LIBRARY patch, urk --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fff6362d3..8a3a23e4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -999,11 +999,11 @@ configure_file(tools/notcurses-ffi.pc.in ${CMAKE_CURRENT_BINARY_DIR}/notcurses-ffi.pc @ONLY ) +endif() configure_file(tools/notcurses++.pc.in ${CMAKE_CURRENT_BINARY_DIR}/notcurses++.pc @ONLY ) -endif() include(CMakePackageConfigHelpers) configure_file(tools/version.h.in include/version.h) @@ -1112,8 +1112,9 @@ endif() endif() # BUILD_EXECUTABLES if(${BUILD_FFI_LIBRARY}) -LIST(APPEND INSTLIBS notcurses-core notcurses notcurses-ffi) +LIST(APPEND INSTLIBS notcurses-ffi) endif() +LIST(APPEND INSTLIBS notcurses-core notcurses) if(${USE_STATIC}) LIST(APPEND INSTLIBS notcurses-core-static notcurses-static) endif()