Skip to content

Commit 451389a

Browse files
committed
cmake: fix duplicate build directory error
Started happening with newer cmake.
1 parent 8bc1a09 commit 451389a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

external/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ set(system "")
237237
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.25)
238238
set(system "SYSTEM")
239239
endif()
240-
if(NOT FLOORMAT_SUBMODULE-DEPENDENCIES OR NOT FLOORMAT_SUBMODULE-SDL2)
241-
add_subdirectory(sdl2 ${system})
242-
endif()
240+
243241
if(FLOORMAT_SUBMODULE-DEPENDENCIES)
244242
sets(PATH IMGUI_DIR "${CMAKE_CURRENT_SOURCE_DIR}/imgui")
245243

0 commit comments

Comments
 (0)