|
@@ -127,16 +127,16 @@ if(WIN32)
|
|
|
endif()
|
|
endif()
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
-if(UNIX)
|
|
|
|
|
|
|
+
|
|
|
|
|
+if(ANDROID)
|
|
|
|
|
+ set(LIBS ${LIBS} log)
|
|
|
|
|
+elseif(UNIX)
|
|
|
set(LIBS ${LIBS} pthread m dl)
|
|
set(LIBS ${LIBS} pthread m dl)
|
|
|
if(CMAKE_COMPILER_IS_GNUCC)
|
|
if(CMAKE_COMPILER_IS_GNUCC)
|
|
|
set(LIBS ${LIBS} rt)
|
|
set(LIBS ${LIBS} rt)
|
|
|
endif()
|
|
endif()
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
-if(ANDROID)
|
|
|
|
|
- set(LIBS ${LIBS} log)
|
|
|
|
|
-endif()
|
|
|
|
|
|
|
|
|
|
if(APPLE)
|
|
if(APPLE)
|
|
|
set(LIBS ${LIBS} "-framework CoreFoundation" "-framework Security")
|
|
set(LIBS ${LIBS} "-framework CoreFoundation" "-framework Security")
|