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

List:       kde-commits
Subject:    [kdoctools] /: Add the local cmake directory to the CMake module path
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2014-02-21 11:21:02
Message-ID: E1WGoAA-00064I-GT () scm ! kde ! org
[Download RAW message or body]

Git commit 8fc1e5ec74d3cdb20e19c3a9d4eb040d86620003 by Alex Merry.
Committed on 19/02/2014 at 12:40.
Pushed by alexmerry into branch 'master'.

Add the local cmake directory to the CMake module path

REVIEW: 115896

M  +1    -1    CMakeLists.txt

http://commits.kde.org/kdoctools/8fc1e5ec74d3cdb20e19c3a9d4eb040d86620003

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d135e0c..5ad7099 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(KDocTools)
 =

 # ECM setup
 find_package(ECM 0.0.10 REQUIRED NO_MODULE)
-set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
+set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH}=
 ${ECM_KDE_MODULE_DIR})
 =

 include(FeatureSummary)
 include(ECMSetupVersion)
[prev in list] [next in list] [prev in thread] [next in thread] 

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