aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2016-03-24 11:44:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-24 16:32:38 -0700
commit5f9df02ffc0d33c3e92df6839c5dbca0609c00cc (patch)
treebd6127d3a9aa7288909b869c944aecb0f2be45d8 /tests
parentf298802b99295376ef2c2b6c4acc2a8693240961 (diff)
downloadsubsurface-5f9df02ffc0d33c3e92df6839c5dbca0609c00cc.tar.gz
Fix tests linkage
I wasn't linking the tests against the qrc library, which made trying to load the xslt transformation files for the parse test fail. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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 $<TARGET_FILE:${NAME}>)
endmacro()