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.
This commit is contained in:
Sybren A. Stüvel 2020-07-21 11:11:52 +02:00
parent bafe22e8ce
commit 6b6970d43f
1 changed files with 1 additions and 0 deletions

View File

@ -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}")