forked from DCMTK/dcmtk
-
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.
Changed CMake command names to lower case and removed arguments from block termination commands. Thanks to Hans Johnson (@hjmjohnson) for the contribution.
- Loading branch information
Pedro F. Arizpe-Gomez
committed
May 31, 2018
1 parent
57827ec
commit ef0dd4f
Showing
98 changed files
with
2,420 additions
and
2,420 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Helper macro that checks whether a given CMake command exists or not | ||
MACRO(CHECK_CMAKE_COMMAND_EXISTS commandname) | ||
MESSAGE(STATUS "Looking for CMake command ${commandname}") | ||
macro(CHECK_CMAKE_COMMAND_EXISTS commandname) | ||
message(STATUS "Looking for CMake command ${commandname}") | ||
string(TOUPPER ${commandname} commandname_upper) | ||
IF(COMMAND ${commandname}) | ||
SET(HAVE_${commandname_upper} TRUE) | ||
MESSAGE(STATUS "Looking for CMake command ${commandname} - found") | ||
ELSE() | ||
SET(HAVE_${commandname_upper} FALSE) | ||
MESSAGE(STATUS "Looking for CMake command ${commandname} - not found") | ||
ENDIF() | ||
ENDMACRO() | ||
if(COMMAND ${commandname}) | ||
set(HAVE_${commandname_upper} TRUE) | ||
message(STATUS "Looking for CMake command ${commandname} - found") | ||
else() | ||
set(HAVE_${commandname_upper} FALSE) | ||
message(STATUS "Looking for CMake command ${commandname} - not found") | ||
endif() | ||
endmacro() |
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
Oops, something went wrong.