Commit c624a90b authored by jehan's avatar jehan
Browse files

change cmake config files installation directory from lib64/cmake to share/bctoolbox/cmake

parent 6e1a2a51
......@@ -97,6 +97,7 @@ add_definitions("-DHAVE_CONFIG_H")
set(STRICT_OPTIONS_CPP )
set(STRICT_OPTIONS_C )
if(NOT MSVC)
list(APPEND STRICT_OPTIONS_CPP "-Wall" "-Wuninitialized")
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-builtin-requires-header" "-Wno-unused-function" "-Wno-gnu-designator" "-Wno-array-bounds")
......@@ -154,7 +155,7 @@ configure_file(cmake/BcToolboxConfig.cmake.in
@ONLY
)
set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/BcToolbox)
set(ConfigPackageLocation ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/cmake)
install(EXPORT ${EXPORT_TARGETS_NAME}Targets
FILE BcToolboxTargets.cmake
DESTINATION ${ConfigPackageLocation}
......
# This is a comment
prefix=@CMAKE_INSTALL_PREFIX@
Name: bctoolbox
Name: @PROJECT_NAME@
Description: A common set of tools used by Belledonne Communications's softwares
Requires.private: @REQUIRES_PRIVATE@ @TLS_PC@
Version: @PROJECT_VERSION@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment