forked from modelica/ModelicaStandardLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename include directories consistently
- Loading branch information
Showing
4 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
16 changes: 8 additions & 8 deletions
16
Modelica/Resources/BuildProjects/CMake/Modelica_utilities.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
if(DEFINED MODELICA_UTILITIES_INCLUDE) | ||
if(NOT MODELICA_UTILITIES_INCLUDE STREQUAL "") | ||
include_directories(${MODELICA_UTILITIES_INCLUDE}) | ||
if(DEFINED MODELICA_UTILITIES_INCLUDE_DIR) | ||
if(NOT MODELICA_UTILITIES_INCLUDE_DIR STREQUAL "") | ||
include_directories(${MODELICA_UTILITIES_INCLUDE_DIR}) | ||
else() | ||
message(FATAL_ERROR "MODELICA_UTILITIES_INCLUDE is an empty string.") | ||
message(FATAL_ERROR "MODELICA_UTILITIES_INCLUDE_DIR is an empty string.") | ||
endif() | ||
else() | ||
set(MODELICA_UTILITIES_INCLUDE "" CACHE PATH "Include directory of the (tool-vendor specific) ModelicaUtilities.h header file") | ||
if(NOT MODELICA_UTILITIES_INCLUDE STREQUAL "") | ||
include_directories(${MODELICA_UTILITIES_INCLUDE}) | ||
set(MODELICA_UTILITIES_INCLUDE_DIR "" CACHE PATH "Include directory of the (tool-vendor specific) ModelicaUtilities.h header file") | ||
if(NOT MODELICA_UTILITIES_INCLUDE_DIR STREQUAL "") | ||
include_directories(${MODELICA_UTILITIES_INCLUDE_DIR}) | ||
else() | ||
message(FATAL_ERROR "MODELICA_UTILITIES_INCLUDE is an empty string.") | ||
message(FATAL_ERROR "MODELICA_UTILITIES_INCLUDE_DIR is an empty string.") | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters