Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-04-22 16:47:32 +0300
committerRay Molenkamp <github@lazydodo.com>2020-04-22 16:47:32 +0300
commit6c9bebd82791de8bcdba7a52944f12706cc4fa0b (patch)
tree43725cfa46fdaec76cd364bbcdea66c59642e2d9 /tests/gtests
parenta0fe22095e6d9b8b194c2cf6f9a7c7b419d7e61c (diff)
Tests: Fix build error in BKE_armature test
Test does not link due to missing symbols, needs buildinfoobj to link against when WITH_BUILDINFO is on
Diffstat (limited to 'tests/gtests')
-rw-r--r--tests/gtests/blenkernel/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/gtests/blenkernel/CMakeLists.txt b/tests/gtests/blenkernel/CMakeLists.txt
index 69b58eddf71..bbc274c5ddb 100644
--- a/tests/gtests/blenkernel/CMakeLists.txt
+++ b/tests/gtests/blenkernel/CMakeLists.txt
@@ -34,4 +34,8 @@ include_directories(${INC})
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}")
-BLENDER_TEST(BKE_armature "bf_blenloader;bf_blenkernel;bf_blenlib")
+if(WITH_BUILDINFO)
+ set(BUILDINFO buildinfoobj)
+endif()
+
+BLENDER_TEST(BKE_armature "bf_blenloader;bf_blenkernel;bf_blenlib;${BUILDINFO}")