Skip to content
Snippets Groups Projects
Commit 46e7cbe18d11 authored by Romain Lesteven's avatar Romain Lesteven
Browse files

Fix make.sh install unwanted config files

parent fe0968269d46
No related branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,8 @@
"${CMAKE_CURRENT_SOURCE_DIR}/library_config/cJSONConfigVersion.cmake.in"
${PROJECT_BINARY_DIR}/cJSONConfigVersion.cmake @ONLY)
if(ENABLE_TARGET_EXPORT)
# Install package config files
install(FILES ${PROJECT_BINARY_DIR}/cJSONConfig.cmake
${PROJECT_BINARY_DIR}/cJSONConfigVersion.cmake
DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/cJSON")
......@@ -226,7 +227,8 @@
# Install package config files
install(FILES ${PROJECT_BINARY_DIR}/cJSONConfig.cmake
${PROJECT_BINARY_DIR}/cJSONConfigVersion.cmake
DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/cJSON")
endif()
option(ENABLE_CJSON_TEST "Enable building cJSON test" ON)
if(ENABLE_CJSON_TEST)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment