mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
add to installs
This commit is contained in:
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()
|
||||
|
14
tools/notcurses-ffi.pc.in
Normal file
14
tools/notcurses-ffi.pc.in
Normal file
@ -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…
x
Reference in New Issue
Block a user