diff --git a/src/myx/base/CMakeLists.txt b/src/myx/base/CMakeLists.txt index 3e3b4e3..2e6ec8c 100644 --- a/src/myx/base/CMakeLists.txt +++ b/src/myx/base/CMakeLists.txt @@ -40,8 +40,7 @@ install(TARGETS ${current_target}_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIB if(BUILD_SHARED_LIBS) install(TARGETS ${current_target}_shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif() -install(FILES ${CMAKE_BINARY_DIR}/include/cmlib_config.hpp - ${CMAKE_BINARY_DIR}/include/config_flags.hpp +install(FILES ${CMAKE_BINARY_DIR}/include/config_flags.hpp ${current_target_headers} COMPONENT headers DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/${current_target})