From 33e70d9642b4695a660ca24343c1ec4e588f179f Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Sat, 13 Nov 2010 20:54:48 +0100 Subject: [PATCH] Tweak FindLoki to mark the fact you include headers as <loki/XXX.hpp> not <XXX.hpp> --- CMakeScripts/FindLoki.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeScripts/FindLoki.cmake b/CMakeScripts/FindLoki.cmake index 76ebff1..27fa48b 100644 --- a/CMakeScripts/FindLoki.cmake +++ b/CMakeScripts/FindLoki.cmake @@ -1,6 +1,6 @@ -FIND_PATH(LOKI_INCLUDE_DIR LokiExport.h /usr/include/loki /usr/local/include/loki) +FIND_PATH(LOKI_INCLUDE_DIR loki/LokiExport.h /usr/include /usr/local/include) -FIND_LIBRARY(LOKI_LIBRARY NAMES loki PATH /usr/lib /usr/local/lib) +FIND_LIBRARY(LOKI_LIBRARY NAMES loki PATHS /usr/lib /usr/local/lib) MARK_AS_ADVANCED(LOKI_LIBRARY) MARK_AS_ADVANCED(LOKI_INCLUDE_DIR) -- GitLab