summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-06-16 08:09:41 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-06-16 08:09:41 +0000
commitbfe6bf0fd105dac4d49bf83382316c4c88f37a49 (patch)
tree48a2dd0cdc448a1b18061822b7e684dfee60411d /cmake
parentd9b9b45554b43d8c41eb1b8bd7c0421620cddcd4 (diff)
* cmake/CMakeLists.txt: use local include header first
* dbus/dbus-sysdeps-win.c: mingw compile fix of DBusCredential struct
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 3728aba0..ab472be0 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -20,7 +20,9 @@ endif (CYGWIN)
# search for required packages
if (WIN32)
- find_package(KDEWIN)
+ # include local header first to avoid using old installed header
+ set (CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/..)
+ find_package(KDEWIN)
find_package(KDEWIN_Packager)
find_package(LibIconv)
include(Win32Macros)
@@ -87,6 +89,8 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set (CMAKE_DEBUG_POSTFIX "d")
endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -save-temps")
+message(STATUS "-----" ${CMAKE_INCLUDE_PATH})
#########################################################################
# Windows CE