From 82ffeaae01ba809ab1dd13d4d4055a12a1763505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 23 Jul 2013 14:03:35 +0200 Subject: [PATCH] Link plugin dependencies to libraries, not test executables. The test executables shouldn't need it at all. --- src/Plugins/MagnumFontConverter/CMakeLists.txt | 3 ++- src/Plugins/MagnumFontConverter/Test/CMakeLists.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/MagnumFontConverter/CMakeLists.txt b/src/Plugins/MagnumFontConverter/CMakeLists.txt index 696a5728c..9c8694b62 100644 --- a/src/Plugins/MagnumFontConverter/CMakeLists.txt +++ b/src/Plugins/MagnumFontConverter/CMakeLists.txt @@ -47,6 +47,7 @@ if(BUILD_GL_TESTS) add_library(MagnumFontConverterTestLib STATIC $) target_link_libraries(MagnumFontConverterTestLib ${MAGNUM_LIBRARIES} - ${MAGNUM_TEXT_LIBRARIES}) + ${MAGNUM_TEXT_LIBRARIES} + TgaImageConverterTestLib) add_subdirectory(Test) endif() diff --git a/src/Plugins/MagnumFontConverter/Test/CMakeLists.txt b/src/Plugins/MagnumFontConverter/Test/CMakeLists.txt index 7a41395ad..a6b28e93e 100644 --- a/src/Plugins/MagnumFontConverter/Test/CMakeLists.txt +++ b/src/Plugins/MagnumFontConverter/Test/CMakeLists.txt @@ -32,6 +32,5 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/../../FreeTypeFont/Test/ corrade_add_test(MagnumFontConverterTest MagnumFontConverterTest.cpp LIBRARIES MagnumFontConverterTestLib FreeTypeFontTestLib - TgaImageConverterTestLib TgaImporterTestLib ${GL_TEST_LIBRARIES})