CMake: remove BLENDER_SORTED_LIBS
[blender.git] / tests / gtests / alembic / CMakeLists.txt
index bf1577ff33ac64f00ff2f185babafb769cdcfa29..d401f57eff8605ffcad7bffae206e199e6d22a9e 100644 (file)
@@ -32,6 +32,11 @@ set(INC
        ${OPENEXR_INCLUDE_DIRS}
 )
 
+set(LIB
+       bf_blenloader  # Should not be needed but gives linking error without it.
+       bf_alembic
+)
+
 include_directories(${INC})
 
 setup_libdirs()
@@ -44,7 +49,7 @@ else()
 endif()
 
 # For motivation on doubling BLENDER_SORTED_LIBS, see ../bmesh/CMakeLists.txt
-BLENDER_SRC_GTEST(alembic "abc_matrix_test.cc;abc_export_test.cc;${_buildinfo_src}" "${BLENDER_SORTED_LIBS};${BLENDER_SORTED_LIBS}")
+BLENDER_SRC_GTEST(alembic "abc_matrix_test.cc;abc_export_test.cc;${_buildinfo_src}" "${LIB}")
 
 unset(_buildinfo_src)