From 61d9428d8c840455dbe8521ad4031d9c638e8d11 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 2 Apr 2020 10:33:04 +0200 Subject: CMake: Make sure that the library config.test is used for assimp Change-Id: Ia5b2a2ffca2dda460a323fd3f564c548be84c0aa Reviewed-by: Leander Beernaert Reviewed-by: Alexandru Croitor --- util/cmake/helper.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'util/cmake') 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, + ), ] -- cgit v1.2.3