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

View File

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