[Orxonox-commit 2746] r7451 - code/trunk/src
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Sep 13 23:36:56 CEST 2010
Author: rgrieder
Date: 2010-09-13 23:36:56 +0200 (Mon, 13 Sep 2010)
New Revision: 7451
Modified:
code/trunk/src/CMakeLists.txt
Log:
Fix recently introduced bug..
Modified: code/trunk/src/CMakeLists.txt
===================================================================
--- code/trunk/src/CMakeLists.txt 2010-09-13 21:30:06 UTC (rev 7450)
+++ code/trunk/src/CMakeLists.txt 2010-09-13 21:36:56 UTC (rev 7451)
@@ -83,7 +83,6 @@
${DIRECTX_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${VLD_INCLUDE_DIR}
- ${DBGHELP_INCLUDE_DIR}
# All includes in "externals" should be prefixed with the path
# relative to "external" to avoid conflicts
@@ -100,6 +99,10 @@
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/external/ceguilua/ceguilua-${CEGUI_VERSION})
ENDIF()
+IF (DBGHELP_FOUND)
+ INCLUDE_DIRECTORIES(${DBGHELP_INCLUDE_DIR})
+ENDIF()
+
################### Tolua Bind ##################
# Create directory because the tolua application doesn't work otherwise
More information about the Orxonox-commit
mailing list