mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
f298802b99
commit
5f9df02ffc
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue