Skip to content
Snippets Groups Projects
Commit 61e629abfc1a authored by Alan Wang's avatar Alan Wang
Browse files

Merge pull request #465 from Summus-git/fix_make_install_config

Make install unwanted config files
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