[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [smokegen/KDE/4.10] cmake: Apply a fix from Ben Cooksley so that smokegen builds on build.kde.org
From:       Arno Rehn <arno () arnorehn ! de>
Date:       2013-06-10 11:25:46
Message-ID: 20130610112546.45E49A6067 () git ! kde ! org
[Download RAW message or body]

Git commit 0f789c3c446d62ba5261fc55fd3782a690e56e8e by Arno Rehn.
Committed on 01/06/2013 at 17:00.
Pushed by arnorehn into branch 'KDE/4.10'.

Apply a fix from Ben Cooksley so that smokegen builds on build.kde.org

M  +3    -4    cmake/SmokeConfig.cmake.in

http://commits.kde.org/smokegen/0f789c3c446d62ba5261fc55fd3782a690e56e8e

diff --git a/cmake/SmokeConfig.cmake.in b/cmake/SmokeConfig.cmake.in
index 48316b6..76089d7 100644
--- a/cmake/SmokeConfig.cmake.in
+++ b/cmake/SmokeConfig.cmake.in
@@ -45,13 +45,12 @@ macro (find_smoke_component name)
 =

         find_path(SMOKE_${uppercase}_INCLUDE_DIR =

             ${lowercase}_smoke.h =

-            PATH ${SMOKE_INCLUDE_DIR}
-            NO_DEFAULT_PATH)
+            HINTS ${SMOKE_INCLUDE_DIR}
+	    PATH_SUFFIXES smoke)
 =

         find_library(SMOKE_${uppercase}_LIBRARY
             smoke${lowercase}
-            PATHS "@SMOKE_LIBRARY_PREFIX@"
-            NO_DEFAULT_PATH)
+	    HINTS "@SMOKE_LIBRARY_PREFIX@")
 =

         if (NOT SMOKE_${uppercase}_INCLUDE_DIR OR NOT SMOKE_${uppercase}_L=
IBRARY)
             if (Smoke_FIND_REQUIRED)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic