mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Revert "Places configured version.h in source dir, for building with FetchContent"
This reverts commit 9888d9163b.
This commit is contained in:
parent
9888d9163b
commit
198eb76cab
2 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -51,7 +51,6 @@ src/CMakeFiles/
|
|||
src/bin/
|
||||
src/cmake_install.cmake
|
||||
src/install_manifest.txt
|
||||
include/openmc/version.h
|
||||
|
||||
# Nuclear data
|
||||
scripts/nndc
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ set(OPENMC_VERSION_MAJOR 0)
|
|||
set(OPENMC_VERSION_MINOR 13)
|
||||
set(OPENMC_VERSION_RELEASE 1)
|
||||
set(OPENMC_VERSION ${OPENMC_VERSION_MAJOR}.${OPENMC_VERSION_MINOR}.${OPENMC_VERSION_RELEASE})
|
||||
configure_file(include/openmc/version.h.in "${CMAKE_CURRENT_SOURCE_DIR}/include/openmc/version.h" @ONLY)
|
||||
configure_file(include/openmc/version.h.in "${CMAKE_BINARY_DIR}/include/openmc/version.h" @ONLY)
|
||||
|
||||
# Setup output directories
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
|
@ -495,3 +495,4 @@ install(FILES
|
|||
install(FILES man/man1/openmc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
install(FILES LICENSE DESTINATION "${CMAKE_INSTALL_DOCDIR}" RENAME copyright)
|
||||
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
install(FILES "${CMAKE_BINARY_DIR}/include/openmc/version.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/openmc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue