From cc0d45ca7c8cd62acd5553011fe0c65ecc8a9ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 30 Mar 2013 23:12:15 +0100 Subject: [PATCH] Fixed building with static Corrade. Four tests (SceneGraph::Animable, Mesh, MeshTools::Tipsify, TextureTools::Atlas) however fail, not sure what the cause is, as they fail somewhere deep long after exiting from main(). --- src/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61c7a059b..0528e4ca5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -219,9 +219,7 @@ 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() + target_link_libraries(MagnumMathTestLib ${CORRADE_UTILITY_LIBRARY}) add_library(MagnumTestLib SHARED $