From d3ecefcfac27a922ff2ec04688ca5bd036d0bc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 11 Mar 2020 19:38:14 +0100 Subject: [PATCH] modules: updated FindMagnum.cmake. --- modules/FindMagnum.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index daef6d5..09569af 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -378,10 +378,9 @@ if(MAGNUM_TARGET_GL) set(_MAGNUM_DebugTools_GL_DEPENDENCY_IS_OPTIONAL ON) endif() -set(_MAGNUM_MeshTools_DEPENDENCIES ) +set(_MAGNUM_MeshTools_DEPENDENCIES Trade) if(MAGNUM_TARGET_GL) - # Trade is used only in compile(), which needs GL as well - list(APPEND _MAGNUM_MeshTools_DEPENDENCIES Trade GL) + list(APPEND _MAGNUM_MeshTools_DEPENDENCIES GL) endif() set(_MAGNUM_OpenGLTester_DEPENDENCIES GL)