Browse Source

Merge pull request #2238 from Areloch/SDL_Install_Fixup

Makes it so the SDL directory files aren't copied during a template install.
Areloch 7 years ago
parent
commit
4b1f421df4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tools/CMake/torque3d.cmake

+ 1 - 1
Tools/CMake/torque3d.cmake

@@ -497,7 +497,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()