Fix tests on jenkins

Qt also has a tga image plugin so unless we make sure ours is used first
tests are not testing what they should

On a side note their plugin fails our tests so someone with enough time
should report the failures to them
This commit is contained in:
Albert Astals Cid
2019-01-28 21:27:22 +01:00
parent 0e21713267
commit 03c3c07004
3 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
include(ECMMarkAsTest)
include(CMakeParseArguments)
add_definitions(-DPLUGIN_DIR="${CMAKE_CURRENT_BINARY_DIR}/../src")
add_definitions(-DPLUGIN_DIR="${CMAKE_CURRENT_BINARY_DIR}/../bin")
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
macro(kimageformats_read_tests)