8000 Accept SDK names in CMAKE_OSX_SYSROOT by jdotc1 · Pull Request #566 · QIICR/dcmqi · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMake/dcmqiBlockSetCMakeOSXVariables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if(APPLE)
endif()

if(NOT "${CMAKE_OSX_SYSROOT}" STREQUAL "")
if(NOT EXISTS "${CMAKE_OSX_SYSROOT}")
if(IS_ABSOLUTE "${CMAKE_OSX_SYSROOT}" AND NOT EXISTS "${CMAKE_OSX_SYSROOT}")
message(FATAL_ERROR "error: CMAKE_OSX_SYSROOT='${CMAKE_OSX_SYSROOT}' does not exist")
endif()
endif()
Expand Down
Loading
0