Move ovni.pc.in into src/
This commit is contained in:
parent
4abd92e139
commit
ee9111a1ec
@ -36,12 +36,6 @@ include(GNUInstallDirs)
|
||||
set(OVNI_CONFIG_RELDIR "${CMAKE_INSTALL_DATADIR}/ovni")
|
||||
set(OVNI_CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${OVNI_CONFIG_RELDIR}")
|
||||
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ovni.pc.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ovni.pc
|
||||
@ONLY
|
||||
)
|
||||
|
||||
include(CheckIPOSupported)
|
||||
check_ipo_supported(RESULT ipo_available OUTPUT error LANGUAGES C)
|
||||
|
||||
@ -102,7 +96,3 @@ if(BUILD_TESTING)
|
||||
endif()
|
||||
|
||||
install(DIRECTORY cfg/ DESTINATION "${OVNI_CONFIG_RELDIR}")
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/ovni.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||
)
|
||||
|
@ -17,8 +17,12 @@ target_include_directories(parson-static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
add_library(common-static STATIC common.c compat.c)
|
||||
target_include_directories(common-static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
configure_file("config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" )
|
||||
configure_file("config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h")
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
configure_file("ovni.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/ovni.pc" @ONLY)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ovni.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
|
||||
add_subdirectory(rt)
|
||||
add_subdirectory(emu)
|
||||
|
Loading…
Reference in New Issue
Block a user