diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-21 12:11:52 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-21 15:10:42 +0300 |
commit | 6b6970d43fb7c69f59269219e7573b2b9d2da887 (patch) | |
tree | 62cee745b507308958b809e33b4d229e9c27c6cc /source | |
parent | bafe22e8cea78991e3f8e4e435985f9a27a1587f (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/io/common/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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}") |