diff --git a/kdegraphics.spec b/kdegraphics.spec index 9bc19af..8dd6d13 100644 --- a/kdegraphics.spec +++ b/kdegraphics.spec @@ -164,7 +164,9 @@ done %build mkdir -p %{_target_platform} pushd %{_target_platform} -%{cmake_kde4} .. -DCMAKE_MODULE_PATH=../ksaneplugin/cmake/modules +%{cmake_kde4} \ + -DCMAKE_MODULE_PATH:PATH=../ksaneplugin/cmake/modules:../okular/cmake/modules \ + .. popd make %{?_smp_mflags} -C %{_target_platform}