Fix T65886: Crash when deleting a scene when "New Main Window" is open.
[blender.git] / tests / gtests / CMakeLists.txt
1
2 # GTest
3 if(WITH_GTESTS)
4
5   include(GTestTesting)
6
7   add_definitions(${GFLAGS_DEFINES})
8   add_definitions(${GLOG_DEFINES})
9   add_definitions(-DBLENDER_GFLAGS_NAMESPACE=${GFLAGS_NAMESPACE})
10
11   # Otherwise we get warnings here that we cant fix in external projects
12   remove_strict_flags()
13
14   add_subdirectory(testing)
15   add_subdirectory(blenlib)
16   add_subdirectory(guardedalloc)
17   add_subdirectory(bmesh)
18   if(WITH_ALEMBIC)
19     add_subdirectory(alembic)
20   endif()
21 endif()