From 6b753cfcb4dfe20810699a5aa1f7c4c789657402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 1 Apr 2013 01:11:29 +0200 Subject: [PATCH] FindMagnum.cmake: NaCl application has also dependencies. Although these are needed only with static build. --- modules/FindMagnum.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index 98626e802..3050a3ebc 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -185,7 +185,10 @@ foreach(component ${Magnum_FIND_COMPONENTS}) endif() endif() - # NaCl application has no additional dependencies + # NaCl application dependencies + if(${component} STREQUAL NaClApplication) + set(_MAGNUM_${_COMPONENT}_LIBRARIES ppapi_cpp ppapi ${_WINDOWCONTEXT_MAGNUM_LIBRARIES_DEPENDENCY}) + endif() # GLX application dependencies if(${component} STREQUAL GlxApplication)