diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eb8bf46..92b0369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -464,16 +464,17 @@ list (APPEND USCXML_CORE_LIBS ${EVENT_LIBRARY}) if (APPLE OR IOS) find_library(AUDIOTOOLBOX AudioToolbox REQUIRED) list (APPEND USCXML_OPT_LIBS ${AUDIOTOOLBOX}) + + find_library(FOUNDATION_LIBRARY Foundation) + list (APPEND USCXML_OPT_LIBS ${FOUNDATION_LIBRARY}/Foundation) find_library(JSC_LIBRARY JavaScriptCore) if (IOS) find_library(WTF_LIBRARY WTF) - find_library(FOUNDATION_LIBRARY Foundation) find_library(ICU_LIBRARY icucore REQUIRED) list (APPEND USCXML_OPT_LIBS ${JSC_LIBRARY}) list (APPEND USCXML_OPT_LIBS ${WTF_LIBRARY}) list (APPEND USCXML_OPT_LIBS ${ICU_LIBRARY}) - list (APPEND USCXML_OPT_LIBS ${FOUNDATION_LIBRARY}/Foundation) else() list (APPEND USCXML_OPT_LIBS ${JSC_LIBRARY}) endif() |