aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-02-26 17:53:55 +0000
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-02-26 17:53:55 +0000
commitacbefba7a800dddffd27f46ca56dac86cd158015 (patch)
tree11ae03e36140eff64f60f0381b902f3239bc6f91
parent79a60305da192e7fd1983516d51dea24630add14 (diff)
downloadextra-cmake-modules-acbefba7a800dddffd27f46ca56dac86cd158015.tar.gz
extra-cmake-modules-acbefba7a800dddffd27f46ca56dac86cd158015.tar.bz2
add kdewin32 include & lib to CMAKE_REQUIRED_INCLUDES/LIBRARIES
svn path=/trunk/KDE/kdelibs/; revision=637512
-rw-r--r--modules/FindKDEWIN32.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake
index afa8ee9b..15f32198 100644
--- a/modules/FindKDEWIN32.cmake
+++ b/modules/FindKDEWIN32.cmake
@@ -86,4 +86,7 @@ else (KDEWIN32_FOUND)
endif (KDEWIN32_FIND_REQUIRED)
endif (KDEWIN32_FOUND)
+set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${KDEWIN32_INCLUDES})
+set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${KDEWIN32_LIBRARIES})
+
endif (WIN32)