Selaa lähdekoodia

Fix Android debug build caused by ik library.

Yao Wei Tjong 姚伟忠 8 vuotta sitten
vanhempi
sitoutus
e29e743c2a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Source/ThirdParty/ik/CMakeLists.txt

+ 1 - 1
Source/ThirdParty/ik/CMakeLists.txt

@@ -31,7 +31,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
     set (DEFAULT_MEMORY_DEBUGGING 1)
 endif ()
 option (IK_MEMORY_DEBUGGING "Global switch for memory options. Keep track of the number of allocations and de-allocations and prints a report when the program shuts down" ${DEFAULT_MEMORY_DEBUGGING})
-cmake_dependent_option (IK_MEMORY_BACKTRACE "Generate backtraces for every malloc(), making it easy to track down memory leaks" "${DEFAULT_MEMORY_DEBUGGING}" "IK_MEMORY_DEBUGGING AND UNIX AND NOT WEB" FALSE)
+cmake_dependent_option (IK_MEMORY_BACKTRACE "Generate backtraces for every malloc(), making it easy to track down memory leaks" "${DEFAULT_MEMORY_DEBUGGING}" "IK_MEMORY_DEBUGGING AND UNIX AND NOT WEB AND NOT ANDROID" FALSE)
 
 # Need to set IK_PLATFORM for dllimport/dllexport
 if (WIN32)