mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
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."
This commit is contained in:
parent
499400916d
commit
48097467f9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue