[Pkg-owncloud-commits] [owncloud-client] 438/484: CMake: fix CMake 2.6 compatibility

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 48097467f958537736ac0dfb1e3913e74007fc03
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Mon Nov 30 01:05:12 2015 +0100

    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 3d3ebf8..081f8ee 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list