Browse Source

[cocos2dx] Disable BUILD_EDITOR_SPINE in example project, so our sources in tree get used.

badlogic 5 years ago
parent
commit
acee8d0bd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-cocos2dx/example-v4/CMakeLists.txt

+ 1 - 1
spine-cocos2dx/example-v4/CMakeLists.txt

@@ -28,7 +28,7 @@ cmake_minimum_required(VERSION 3.6)
 set(APP_NAME spine-cocos2dx-example)
 
 project(${APP_NAME})
-option(BUILD_EDITOR_SPINE "Build editor support for spine" ON)
+set(BUILD_EDITOR_SPINE OFF CACHE BOOL "Build editor support for spine" FORCE)
 
 if(XCODE)
     if(NOT DEFINED CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET)