summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-11-05 16:53:12 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-11-05 16:53:12 +0100
commit87527017b26fadae156f99c7f356aab5a60c7c27 (patch)
treeb10c98f695a6d8433c99ef617f6e294e51b76b6b /CMake
parentd5c0e215a46a25de58e6264280c74d428404075f (diff)
MacOS: Fix build folder for detection of SDK version (#1103)
Sorry for the noise...
Diffstat (limited to 'CMake')
-rw-r--r--CMake/setup.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/setup.cmake b/CMake/setup.cmake
index 493152c01..d4ee85e0b 100644
--- a/CMake/setup.cmake
+++ b/CMake/setup.cmake
@@ -122,7 +122,7 @@ if(APPLE)
function(CHECK_OSX_MAX_ALLOWED SDK_VERSION RESULT)
set(_result FLTK_CHECK_OSX_MAX_ALLOWED_${SDK_VERSION})
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
COMPILE_DEFINITIONS -DSDK_VERSION_CHECK=${SDK_VERSION}
)