diff --git a/TotalCrossVM/CMakeLists.txt b/TotalCrossVM/CMakeLists.txt index ae7b755b47..7035b8a62e 100644 --- a/TotalCrossVM/CMakeLists.txt +++ b/TotalCrossVM/CMakeLists.txt @@ -34,7 +34,7 @@ ENDIF (NOT (DEFINED ANDROID_ABI OR MSVC OR CMAKE_GENERATOR STREQUAL Xcode)) if(NOT MSVC AND USE_SKIA) find_package(Skia REQUIRED) include_directories(${SKIA_INCLUDE_DIRS}) - add_compile_definitions(USE_SKIA) + add_definitions(-DUSE_SKIA) endif(NOT MSVC AND USE_SKIA) set(TC_SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/src")