From b32594c363e47b191049e6ea7e006f9e75db4d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Feb 2013 21:11:29 +0100 Subject: [PATCH] Explicitly link MagnumMathTestLib to Corrade's Utility library. Would be linked later along TestSuite, but the linker complained now. --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b446f4e95..5fb41fd06 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -175,6 +175,9 @@ if(BUILD_TESTS) add_library(MagnumMathTestLib SHARED $) set_target_properties(MagnumMathTestLib PROPERTIES COMPILE_FLAGS -DCORRADE_GRACEFUL_ASSERT) + if(WIN32) + target_link_libraries(MagnumMathTestLib ${CORRADE_UTILITY_LIBRARY}) + endif() add_library(MagnumTestLib SHARED $