Skip to content

Commit 4b1f421

Browse files
committed
Merge pull request #2238 from Areloch/SDL_Install_Fixup
Makes it so the SDL directory files aren't copied during a template install.
1 parent 27446b1 commit 4b1f421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/CMake/torque3d.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ if(TORQUE_SDL)
497497
set(SDL_SHARED ON CACHE BOOL "Build a shared version of the library" FORCE)
498498
set(SDL_STATIC OFF CACHE BOOL "Build a static version of the library" FORCE)
499499
endif()
500-
add_subdirectory( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2)
500+
add_subdirectory( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2 EXCLUDE_FROM_ALL)
501501
link_directories( ${libDir}/sdl ${CMAKE_CURRENT_BINARY_DIR}/sdl2)
502502
endif()
503503

0 commit comments

Comments
 (0)