We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2949cbd commit 7e104bfCopy full SHA for 7e104bf
Modelica/Resources/CMakeLists.txt
@@ -17,6 +17,7 @@ set(MODELICA_UTILITIES_INCLUDE_DIR "${MODELICA_RESOURCES_DIR}/C-Sources")
17
include(BuildProjects/CMake/Modelica_platform.cmake)
18
include(BuildProjects/CMake/Modelica_utilities.cmake)
19
20
+# Do not override CMAKE_INSTALL_PREFIX if it was set by the user. CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT is automatically provided by cmake.
21
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
22
set(
23
CMAKE_INSTALL_PREFIX "${MODELICA_RESOURCES_DIR}"
0 commit comments