Revert "Append to CMAKE_MODULE_PATH instead of fully overwriting it."
Looks like that doesn't work on Linux, guess CMake ignores CMAKE_PREFIX_PATH completely when CMAKE_MODULE_PATH is set
This reverts commit afd4bce57e
.
This commit is contained in:
parent
afd4bce57e
commit
6ff4dd914e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
|
||||||
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
|
find_package(ECM 0.0.9 REQUIRED NO_MODULE)
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
find_package(Qt5 5.2 REQUIRED COMPONENTS Quick)
|
find_package(Qt5 5.2 REQUIRED COMPONENTS Quick)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue