Configuration - Fix link errors on macOS when not building using vcpkg (#609)

Moved APPLE CSF definitions into general conditions.
CSF redefinition for APPLE is used for framework detection after the project initialization.
This commit is contained in:
idz
2025-07-13 01:04:07 -07:00
committed by GitHub
parent 313630c282
commit 878cd2f6d6

View File

@@ -776,10 +776,11 @@ endif()
# the platform specific variables.
if (BUILD_USE_VCPKG)
project (OCCT)
if (APPLE)
# set Apple specific variables
occt_set_apple_csf_vars()
endif()
endif()
if (APPLE)
# set Apple specific variables
occt_set_apple_csf_vars()
endif()
# copying clang-format file to the root of the project