From 829ff0aa535f51680f9ec7f19110a64364e1b0f6 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 23 Jul 2020 17:49:10 +0200 Subject: [PATCH] fix install of netgen_version.hpp --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86aac285..d6197b45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,6 @@ endif() set(CMAKE_EXPORT_COMPILE_COMMANDS ON) include (${CMAKE_CURRENT_LIST_DIR}/cmake/generate_version_file.cmake) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/netgen_version.hpp DESTINATION ${NG_INSTALL_DIR_INCLUDE}/include COMPONENT netgen_devel) set(CPACK_PACKAGE_VERSION "${NETGEN_VERSION}") @@ -405,6 +404,8 @@ if(USE_CGNS) endif(NOT WIN32 AND NOT APPLE) endif(USE_CGNS) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/netgen_version.hpp DESTINATION ${NG_INSTALL_DIR_INCLUDE}/include COMPONENT netgen_devel) + add_subdirectory(libsrc) add_subdirectory(ng) add_subdirectory(tutorials)