fix install of netgen_version.hpp

This commit is contained in:
Matthias Hochsteger 2020-07-23 17:49:10 +02:00
parent dcc0484be0
commit 829ff0aa53

View File

@ -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)