diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 23642fb3c..a31e2c6f8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,7 @@ # QTest based tests macro(TEST NAME FILE) - add_executable(${NAME} ${FILE} ) - target_link_libraries(${NAME} subsurface_corelib ${QT_TEST_LIBRARIES} ${SUBSURFACE_LINK_LIBRARIES}) + add_executable(${NAME} ${FILE} ${SUBSURFACE_RESOURCES} ) + target_link_libraries(${NAME} subsurface_corelib ${QT_TEST_LIBRARIES} ${SUBSURFACE_LINK_LIBRARIES} ) add_test(NAME ${NAME} COMMAND $) endmacro()