From cc037f73064d9563a64aee10993bcfad9e9998f3 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 19 Jun 2023 14:27:05 -0500 Subject: [PATCH] work around GLOB_RECURSE not... recursing... directories --- Tools/CMake/modules/module_testing.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/CMake/modules/module_testing.cmake b/Tools/CMake/modules/module_testing.cmake index fb4f4c919..c8dc01299 100644 --- a/Tools/CMake/modules/module_testing.cmake +++ b/Tools/CMake/modules/module_testing.cmake @@ -30,7 +30,7 @@ if(TORQUE_TESTING) set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10") # Add source files - file(GLOB_RECURSE TORQUE_TESTING_SOURCES "testing/*.cpp" "testing/*.h" "*/test/*.cpp" "*/test/*.h") + file(GLOB_RECURSE TORQUE_TESTING_SOURCES "testing/*.cpp" "testing/*.h" "*/test/*.cpp" "*/test/*.h" "*/*/test/*.cpp" "*/*/test/*.h") set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_TESTING_SOURCES}) project(gtest) # Add include paths