From 597cbf128628f1ed0f8261c36d3e67e699e9fb8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 9 Dec 2011 17:16:08 +0100 Subject: [PATCH] Explicit specification of Primitives library. Without that it would attempt to find an installed Magnum library, which is wrong. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 566fc6d49..3151a47f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,9 @@ endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${Magnum_SOURCE_DIR}/modules/") -set_parent_scope(MAGNUM_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src") -set_parent_scope(MAGNUM_LIBRARY Magnum) +set_parent_scope(MAGNUM_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src") +set_parent_scope(MAGNUM_LIBRARY Magnum) +set_parent_scope(MAGNUM_PRIMITIVES_LIBRARY MagnumPrimitives) include(FindMagnum) add_subdirectory(modules)