Cleanup: remove contributors for CMake files
[blender.git] / tests / gtests / bmesh / CMakeLists.txt
index aaee73d..6bd2be1 100644 (file)
 #
 # The Original Code is Copyright (C) 2014, Blender Foundation
 # All rights reserved.
-#
-# Contributor(s): Howard Trickey
-#
 # ***** END GPL LICENSE BLOCK *****
 
 set(INC
        .
-       ../
+       ..
        ../../../source/blender/blenlib
        ../../../source/blender/makesdna
        ../../../source/blender/bmesh
@@ -39,5 +36,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)