From a9fc272e390f9af4834df2efbca4fce76d4e632b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 9 Dec 2009 08:46:35 -0800 Subject: Prettify CMake checks for compiler switches --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 484812e4..317a5129 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,8 @@ IF(COMMAND CMAKE_POLICY) CMAKE_POLICY(SET CMP0003 NEW) ENDIF(COMMAND CMAKE_POLICY) +SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + INCLUDE(CheckFunctionExists) INCLUDE(CheckLibraryExists) INCLUDE(CheckIncludeFile) -- cgit v1.2.3