mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 01:20:50 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user