Cleanup: move CMake test utility functions into testing.cmake

Combining functions from macros.cmake and Modules/GTestTesting.cmake.
It was unusual to have Blender specific code in the Modules folder.
This commit is contained in:
Brecht Van Lommel
2024-01-02 15:29:15 +01:00
parent e016c1d6c3
commit 4190a61020
30 changed files with 269 additions and 301 deletions

View File

@@ -105,8 +105,6 @@ blender_add_lib(bf_intern_opensubdiv "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# Tests.
if(WITH_GTESTS AND WITH_OPENSUBDIV)
include(GTestTesting)
add_definitions(${GFLAGS_DEFINES})
add_definitions(${GLOG_DEFINES})