From bcd92ed508a9c5f94ddf4cd0a58ea8d3042f4712 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 22 Jul 2020 18:08:35 +0200 Subject: [PATCH] Use local cmake modules first Local cmake modules should not be overriden by system versions. Signed-off-by: Andreas Sturmlechner --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 11a05ab8a..b31917907 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ ENDIF() CMAKE_POLICY(SET CMP0020 OLD) find_package(ECM 1.7.0 REQUIRED NO_MODULE) -set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" ) +set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" ${ECM_MODULE_PATH})