mirror of https://github.com/microsoft/vcpkg.git
18 lines
544 B
Plaintext
18 lines
544 B
Plaintext
ecm provides CMake files:
|
|
|
|
# Selecting particular find modules
|
|
find_package(ECM CONFIG REQUIRED)
|
|
ecm_use_find_modules(
|
|
DIR "${CMAKE_BINARY_DIR}/cmake"
|
|
MODULES FindEGL.cmake
|
|
NO_OVERRIDE
|
|
)
|
|
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}/cmake")
|
|
|
|
# Everything, via find_package() and include()
|
|
find_package(ECM CONFIG REQUIRED)
|
|
list(PREPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
|
|
include(KDEInstallDirs)
|
|
include(KDECompilerSettings)
|
|
include(KDECMakeSettings)
|