diff options
author | Albert Astals Cid <aacid@kde.org> | 2013-12-14 17:03:08 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2013-12-14 17:03:08 +0100 |
commit | b8b3dfa277bf8911a9c5b9b2a4a3bfeebfb0f915 (patch) | |
tree | 76c68f927d5be0e2b55460daf47632825d7583d1 /tests | |
parent | 782010ea1e2a441a566e4a7b78c711cfece896ed (diff) | |
download | extra-cmake-modules-b8b3dfa277bf8911a9c5b9b2a4a3bfeebfb0f915.tar.gz extra-cmake-modules-b8b3dfa277bf8911a9c5b9b2a4a3bfeebfb0f915.tar.bz2 |
Make the tests pass
Since some cmake modules include others inside e-c-m we need to set the cmake module path
so that they are found
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ExecuteAllModules/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ExecuteAllModules/CMakeLists.txt b/tests/ExecuteAllModules/CMakeLists.txt index 43aa1ba5..be3ee67f 100644 --- a/tests/ExecuteAllModules/CMakeLists.txt +++ b/tests/ExecuteAllModules/CMakeLists.txt @@ -12,6 +12,8 @@ cmake_minimum_required(VERSION 2.8) file(GLOB all_find_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../find-modules/Find*cmake") file(GLOB all_other_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../modules/*cmake") +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../modules) + foreach(module ${all_find_modules} ${all_other_modules}) message(STATUS "module: ${module}") include("${module}") |