From 48097467f958537736ac0dfb1e3913e74007fc03 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 30 Nov 2015 01:05:12 +0100 Subject: [PATCH] CMake: fix CMake 2.6 compatibility ... by replacing CONFIG by NO_MODULE option in find package From the manual: "The CONFIG option may be used to skip Module mode explicitly and switch to Config mode. It is synonymous to using NO_MODULE." --- shell_integration/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_integration/CMakeLists.txt b/shell_integration/CMakeLists.txt index 3d3ebf883..081f8eed0 100644 --- a/shell_integration/CMakeLists.txt +++ b/shell_integration/CMakeLists.txt @@ -6,7 +6,7 @@ add_subdirectory(icons) if( UNIX AND NOT APPLE ) add_subdirectory(nautilus) - find_package(ECM 1.2.0 CONFIG QUIET) + find_package(ECM 1.2.0 NO_MODULE QUIET) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") find_package(KF5 "5.16" COMPONENTS KIO) if(KF5_FOUND)