summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/osx/Macros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/osx/Macros.cmake')
-rw-r--r--cmake/scripts/osx/Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/osx/Macros.cmake b/cmake/scripts/osx/Macros.cmake
index 52f87d1..251cc79 100644
--- a/cmake/scripts/osx/Macros.cmake
+++ b/cmake/scripts/osx/Macros.cmake
@@ -20,7 +20,7 @@ function(core_link_library lib wraplib)
20 20
21 # iOS: EFFECTIVE_PLATFORM_NAME is not resolved 21 # iOS: EFFECTIVE_PLATFORM_NAME is not resolved
22 # http://public.kitware.com/pipermail/cmake/2016-March/063049.html 22 # http://public.kitware.com/pipermail/cmake/2016-March/063049.html
23 if(CORE_SYSTEM_NAME STREQUAL ios AND CMAKE_GENERATOR STREQUAL Xcode) 23 if(CORE_SYSTEM_NAME STREQUAL darwin_embedded)
24 get_target_property(dir ${lib} BINARY_DIR) 24 get_target_property(dir ${lib} BINARY_DIR)
25 set(link_lib ${dir}/${CORE_BUILD_CONFIG}/${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX}) 25 set(link_lib ${dir}/${CORE_BUILD_CONFIG}/${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX})
26 endif() 26 endif()