Skip to content

Commit 027af9f

Browse files
vepadulanodpiparo
authored andcommitted
[build] Use correct CMake syntax to check for variable definition
1 parent 1e70e16 commit 027af9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/modules/SetOSX_SDK.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif()
1616

1717
find_program(XCRUN_EXECUTABLE xcrun)
1818
if(EXISTS ${XCRUN_EXECUTABLE})
19-
if(NOT DEFINED "${CMAKE_OSX_SYSROOT}")
19+
if(NOT DEFINED CMAKE_OSX_SYSROOT)
2020
execute_process(COMMAND ${XCRUN_EXECUTABLE} --sdk macosx --show-sdk-path
2121
OUTPUT_VARIABLE SDK_PATH
2222
OUTPUT_STRIP_TRAILING_WHITESPACE)

0 commit comments

Comments
 (0)