mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 02:11:21 -06:00
1e7c4a385a
Also introduced an option to turn openmp on and off p4#: 22257
25 lines
808 B
Diff
25 lines
808 B
Diff
diff --git a/ApplicationCode/CMakeLists.txt b/ApplicationCode/CMakeLists.txt
|
|
index 7995ceb..4930b98 100644
|
|
--- a/ApplicationCode/CMakeLists.txt
|
|
+++ b/ApplicationCode/CMakeLists.txt
|
|
@@ -8,6 +8,10 @@ CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/ApplicationCode/Adm/RIVersionInfo.h.cmake
|
|
${CMAKE_BINARY_DIR}/Generated/RIVersionInfo.h
|
|
)
|
|
|
|
+if(NOT CMAKE_INSTALL_DOCDIR)
|
|
+ set(CMAKE_INSTALL_DOCDIR share/doc/resinsight)
|
|
+endif(NOT CMAKE_INSTALL_DOCDIR)
|
|
+
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
@@ -313,7 +317,7 @@ else (RESINSIGHT_PRIVATE_INSTALL)
|
|
)
|
|
# license go in /usr/share/doc
|
|
install (FILES ${RESINSIGHT_LICENSE_FILES}
|
|
- DESTINATION share/doc/ResInsight
|
|
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
|
)
|
|
# no bundled libraries for system install
|
|
# application icon
|