summaryrefslogtreecommitdiff
blob: cf3980e4e8c753dce2df4c5db99441c10a0a8a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- OpenCPN-2.5.0-Source/CMakeLists.txt	2011-07-26 16:51:59.000000000 +0200
+++ opencpn/CMakeLists.txt	2011-09-28 16:28:35.181651034 +0200
@@ -325,9 +325,12 @@
       )
 
 IF(TINYXML_FOUND)
+    message (STATUS "Building with tinyxml includes")
     INCLUDE_DIRECTORIES(${TINYXML_INCLUDE_DIR})
+    ADD_DEFINITIONS(-DTIXML_USE_STL)
 ELSE(TINYXML_FOUND)
-  SET(SRCS ${SRCS} ${SRC_TINYXML})
+    message (STATUS "tinyxml library not found")
+    SET(SRCS ${SRCS} ${SRC_TINYXML})
 ENDIF(TINYXML_FOUND)