[Bf-blender-cvs] [6b6970d43fb] master: Tests: fix link errors when USD and Alembic are disabled
Sybren A. Stüvel
noreply at git.blender.org
Tue Jul 21 14:28:12 CEST 2020
Commit: 6b6970d43fb7c69f59269219e7573b2b9d2da887
Author: Sybren A. Stüvel
Date: Tue Jul 21 11:11:52 2020 +0200
Branches: master
https://developer.blender.org/rB6b6970d43fb7c69f59269219e7573b2b9d2da887
Tests: fix link errors when USD and Alembic are disabled
The unit tests for `bf_io_common` didn't actually link against
`bf_io_common`, so when both USD and Alembic were disabled, nothing
would link against that library and building the tests would fail.
===================================================================
M source/blender/io/common/CMakeLists.txt
===================================================================
diff --git a/source/blender/io/common/CMakeLists.txt b/source/blender/io/common/CMakeLists.txt
index a6975863413..d3341767f8b 100644
--- a/source/blender/io/common/CMakeLists.txt
+++ b/source/blender/io/common/CMakeLists.txt
@@ -57,6 +57,7 @@ if(WITH_GTESTS)
)
set(TEST_LIB
bf_blenloader_test
+ bf_io_common
)
include(GTestTesting)
blender_add_test_lib(bf_io_common_tests "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}")
More information about the Bf-blender-cvs
mailing list