Skip to content

Commit 7e104bf

Browse files
authored
Add explanatory comment.
1 parent 2949cbd commit 7e104bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modelica/Resources/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ set(MODELICA_UTILITIES_INCLUDE_DIR "${MODELICA_RESOURCES_DIR}/C-Sources")
1717
include(BuildProjects/CMake/Modelica_platform.cmake)
1818
include(BuildProjects/CMake/Modelica_utilities.cmake)
1919

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.
2021
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
2122
set(
2223
CMAKE_INSTALL_PREFIX "${MODELICA_RESOURCES_DIR}"

0 commit comments

Comments
 (0)