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
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-22 19:13:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-22 19:16:49 +0400
commit489937e1e7f89b3c21a4e13feaffbd400527f118 (patch)
tree5da2cd21acf3837ada297b1bbc51e84b45e935bd /tests
parent95da8ba64b2042f3edec460a26a70ddb9c0db97c (diff)
GTest now works without buildinfo
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/bmesh/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/gtests/bmesh/CMakeLists.txt b/tests/gtests/bmesh/CMakeLists.txt
index aaee73d159d..b1166a67bcd 100644
--- a/tests/gtests/bmesh/CMakeLists.txt
+++ b/tests/gtests/bmesh/CMakeLists.txt
@@ -39,5 +39,12 @@ get_property(BLENDER_SORTED_LIBS GLOBAL PROPERTY BLENDER_SORTED_LIBS_PROP)
# for this test. Doubling the list does let all the symbols be resolved, but link time is a bit painful.
set(BLENDER_SORTED_LIBS ${BLENDER_SORTED_LIBS} ${BLENDER_SORTED_LIBS})
-BLENDER_SRC_GTEST(bmesh_core "bmesh_core_test.cc;$<TARGET_OBJECTS:buildinfoobj>" "${BLENDER_SORTED_LIBS}")
+if(WITH_BUILDINFO)
+ set(_buildinfo_src "$<TARGET_OBJECTS:buildinfoobj>")
+else()
+ set(_buildinfo_src "")
+endif()
+BLENDER_SRC_GTEST(bmesh_core "bmesh_core_test.cc;${_buildinfo_src}" "${BLENDER_SORTED_LIBS}")
+unset(_buildinfo_src)
+
setup_liblinks(bmesh_core_test)