Moved APPLE CSF definitions into general conditions.
CSF redefinition for APPLE is used for framework detection after the project initialization.
# 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