[CMAKE]: Use some nice options which will make makefiles simpler regarding includes.
authorSir Richard <sir_richard@svn.reactos.org>
Tue, 3 Aug 2010 21:12:51 +0000 (21:12 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Tue, 3 Aug 2010 21:12:51 +0000 (21:12 +0000)
svn path=/branches/cmake-bringup/; revision=48436

CMakeLists.txt

index 2ed4db3..f63234f 100644 (file)
@@ -1,6 +1,9 @@
 cmake_minimum_required(VERSION 2.8)
 project(REACTOS)
 
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
+
 add_definitions(-D__REACTOS__)
 
 if(NOT CMAKE_CROSSCOMPILING)