MacOS: Fix build folder for detection of SDK version (#1103)

Sorry for the noise...
This commit is contained in:
Albrecht Schlosser 2024-11-05 16:53:12 +01:00
parent d5c0e215a4
commit 87527017b2

View File

@ -122,7 +122,7 @@ if(APPLE)
function(CHECK_OSX_MAX_ALLOWED SDK_VERSION RESULT) function(CHECK_OSX_MAX_ALLOWED SDK_VERSION RESULT)
set(_result FLTK_CHECK_OSX_MAX_ALLOWED_${SDK_VERSION}) set(_result FLTK_CHECK_OSX_MAX_ALLOWED_${SDK_VERSION})
try_compile(${_result} try_compile(${_result}
${CMAKE_CURRENT_BINARY_DIR}_SDK_${SDK_VERSION} ${CMAKE_CURRENT_BINARY_DIR}/CHECK_OSX_MAX_ALLOWED_${SDK_VERSION}
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/CMake/macOSMaxAllowed.c SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/CMake/macOSMaxAllowed.c
COMPILE_DEFINITIONS -DSDK_VERSION_CHECK=${SDK_VERSION} COMPILE_DEFINITIONS -DSDK_VERSION_CHECK=${SDK_VERSION}
) )