diff -Nru a/src/game/MiniCore/src/UnitTests/MCForceRegistryTest/CMakeLists.txt b/src/game/MiniCore/src/UnitTests/MCForceRegistryTest/CMakeLists.txt --- a/src/game/MiniCore/src/UnitTests/MCForceRegistryTest/CMakeLists.txt 2017-12-30 14:09:21.000000000 +0100 +++ b/src/game/MiniCore/src/UnitTests/MCForceRegistryTest/CMakeLists.txt 2018-06-06 03:57:57.823580063 +0200 @@ -7,4 +7,4 @@ target_link_libraries(MCForceRegistryTest MiniCore ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) add_test(MCForceRegistryTest ${CMAKE_SOURCE_DIR}/unittests/MCForceRegistryTest) -qt5_use_modules(MCForceRegistryTest OpenGL Xml Test) +target_link_libraries(MCForceRegistryTest Qt5::OpenGL Qt5::Xml Qt5::Test) diff -Nru a/src/game/MiniCore/src/UnitTests/MCMeshLoaderTest/CMakeLists.txt b/src/game/MiniCore/src/UnitTests/MCMeshLoaderTest/CMakeLists.txt --- a/src/game/MiniCore/src/UnitTests/MCMeshLoaderTest/CMakeLists.txt 2017-12-30 14:09:21.000000000 +0100 +++ b/src/game/MiniCore/src/UnitTests/MCMeshLoaderTest/CMakeLists.txt 2018-06-06 03:58:16.873709171 +0200 @@ -7,4 +7,4 @@ target_link_libraries(MCMeshLoaderTest MiniCore) add_test(MCMeshLoaderTest ${CMAKE_SOURCE_DIR}/unittests/MCMeshLoaderTest) -qt5_use_modules(MCMeshLoaderTest Test) +target_link_libraries(MCMeshLoaderTest Qt5::Test) diff -Nru a/src/game/MiniCore/src/UnitTests/MCObjectTest/CMakeLists.txt b/src/game/MiniCore/src/UnitTests/MCObjectTest/CMakeLists.txt --- a/src/game/MiniCore/src/UnitTests/MCObjectTest/CMakeLists.txt 2017-12-30 14:09:21.000000000 +0100 +++ b/src/game/MiniCore/src/UnitTests/MCObjectTest/CMakeLists.txt 2018-06-06 04:04:23.052183818 +0200 @@ -7,4 +7,4 @@ target_link_libraries(MCObjectTest MiniCore ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) add_test(MCObjectTest ${CMAKE_SOURCE_DIR}/unittests/MCObjectTest) -qt5_use_modules(MCObjectTest OpenGL Xml Test) +target_link_libraries(MCObjectTest Qt5::OpenGL Qt5::Xml Qt5::Test) diff -Nru a/src/game/MiniCore/src/UnitTests/MCWorldTest/CMakeLists.txt b/src/game/MiniCore/src/UnitTests/MCWorldTest/CMakeLists.txt --- a/src/game/MiniCore/src/UnitTests/MCWorldTest/CMakeLists.txt 2017-12-30 14:09:21.000000000 +0100 +++ b/src/game/MiniCore/src/UnitTests/MCWorldTest/CMakeLists.txt 2018-06-06 03:59:02.312016938 +0200 @@ -7,5 +7,5 @@ target_link_libraries(MCWorldTest MiniCore ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) add_test(MCWorldTest ${CMAKE_SOURCE_DIR}/unittests/MCWorldTest) -qt5_use_modules(MCWorldTest OpenGL Xml Test) +target_link_libraries(MCWorldTest Qt5::OpenGL Qt5::Xml Qt5::Test)