浏览代码

Makes it so the SDL directory files aren't copied during a template file install.

Areloch 7 年之前
父节点
当前提交
570c6844f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tools/CMake/torque3d.cmake

+ 1 - 1
Tools/CMake/torque3d.cmake

@@ -477,7 +477,7 @@ if(TORQUE_SDL)
       set(SDL_SHARED ON CACHE BOOL "Build a shared version of the library" FORCE)
       set(SDL_STATIC OFF CACHE BOOL "Build a static version of the library" FORCE)
     endif()
-    add_subdirectory( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2)
+    add_subdirectory( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2 EXCLUDE_FROM_ALL)
     link_directories( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2)
 endif()