remove install from cmake

This commit is contained in:
Jeff Becker 2019-04-21 17:35:10 -04:00
parent 06fcdf9816
commit 2b3c2f5a33
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 7 additions and 7 deletions

View File

@ -90,15 +90,15 @@ export(TARGETS cxxopts NAMESPACE cxxopts::
FILE ${PROJECT_BINARY_DIR}/${targets_export_name}.cmake) FILE ${PROJECT_BINARY_DIR}/${targets_export_name}.cmake)
# Install version, config and target files. # Install version, config and target files.
install( #install(
FILES ${project_config} ${version_config} # FILES ${project_config} ${version_config}
DESTINATION ${CXXOPTS_CMAKE_DIR}) # DESTINATION ${CXXOPTS_CMAKE_DIR})
install(EXPORT ${targets_export_name} DESTINATION ${CXXOPTS_CMAKE_DIR} #install(EXPORT ${targets_export_name} DESTINATION ${CXXOPTS_CMAKE_DIR}
NAMESPACE cxxopts::) # NAMESPACE cxxopts::)
# Install the header file and export the target # Install the header file and export the target
install(TARGETS cxxopts EXPORT ${targets_export_name} DESTINATION lib) #install(TARGETS cxxopts EXPORT ${targets_export_name} DESTINATION lib)
install(FILES ${PROJECT_SOURCE_DIR}/include/cxxopts.hpp DESTINATION include) #install(FILES ${PROJECT_SOURCE_DIR}/include/cxxopts.hpp DESTINATION include)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(test) add_subdirectory(test)