Explorar el Código

work around GLOB_RECURSE not... recursing... directories

AzaezelX hace 2 años
padre
commit
cc037f7306
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Tools/CMake/modules/module_testing.cmake

+ 1 - 1
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