diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-02 10:33:04 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-03 16:05:22 +0200 |
commit | 61d9428d8c840455dbe8521ad4031d9c638e8d11 (patch) | |
tree | 6a70f1ccbe7980495d8a1ccaba909d0e807a141e /util/cmake | |
parent | d2931a2626eb67b8b39e25fc62501c01901ab1d3 (diff) |
CMake: Make sure that the library config.test is used for assimp
Change-Id: Ia5b2a2ffca2dda460a323fd3f564c548be84c0aa
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rw-r--r-- | util/cmake/helper.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 1879233bb6..9c47ba64e2 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -575,7 +575,15 @@ _library_map = [ LibraryMapping("webp", "WrapWebP", "WrapWebP::WrapWebP"), LibraryMapping("jasper", "WrapJasper", "WrapJasper::WrapJasper"), LibraryMapping("sdl2", "WrapSDL2", "WrapSDL2::WrapSDL2"), - LibraryMapping("assimp", "WrapAssimp", "WrapAssimp::WrapAssimp", extra=["5"]), + LibraryMapping( + "assimp", + "WrapAssimp", + "WrapAssimp::WrapAssimp", + extra=["5"], + run_library_test=True, + resultVariable="TEST_assimp", + appendFoundSuffix=False, + ), ] |