diff --git a/CMakeLists.txt b/CMakeLists.txt index e98e1f6..1c70e38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,6 +203,10 @@ set_property(TARGET CoreFoundation_x86_64 APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/reexport_x86_64.exp \ -Wl,-alias,_OBJC_CLASS_\\$___NSCFConstantString,___CFConstantStringClassReference") endif (TARGET_x86_64) +if (TARGET_ARM64) +set_property(TARGET CoreFoundation_arm64 APPEND_STRING PROPERTY + LINK_FLAGS " -Wl,-alias,_OBJC_CLASS_\\$___NSCFConstantString,___CFConstantStringClassReference") +endif (TARGET_ARM64) set_source_files_properties(${cf_c_sources} PROPERTIES COMPILE_FLAGS "-x objective-c")