add to installs

pull/2501/head
KristofferC 2 years ago committed by nick black
parent 81d36891da
commit e94707ee28

@ -971,6 +971,10 @@ configure_file(tools/notcurses.pc.in
${CMAKE_CURRENT_BINARY_DIR}/notcurses.pc
@ONLY
)
configure_file(tools/notcurses-ffi.pc.in
${CMAKE_CURRENT_BINARY_DIR}/notcurses-ffi.pc
@ONLY
)
configure_file(tools/notcurses++.pc.in
${CMAKE_CURRENT_BINARY_DIR}/notcurses++.pc
@ONLY
@ -1039,6 +1043,11 @@ install(FILES
DESTINATION ${PKGCONFIG_DIR}
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/notcurses-ffi.pc
DESTINATION ${PKGCONFIG_DIR}
)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/notcurses++.pc
DESTINATION ${PKGCONFIG_DIR}
@ -1075,7 +1084,7 @@ endif()
endif()
endif() # BUILD_EXECUTABLES
LIST(APPEND INSTLIBS notcurses-core notcurses)
LIST(APPEND INSTLIBS notcurses-core notcurses notcurses-ffi)
if(${USE_STATIC})
LIST(APPEND INSTLIBS notcurses-core-static notcurses-static)
endif()

@ -0,0 +1,14 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: @PROJECT_NAME@
Description: TUI library for modern terminal emulators (ffi support)
Version: @PROJECT_VERSION@
Requires: notcurses-ffi
Requires.private:
Libs: -L${libdir} -lnotcurses-ffi
Libs.private: -lstdc++
Cflags: -I${includedir}
Loading…
Cancel
Save