[Jderobot-admin] jderobot-r1152 - trunk/Deps/tinyxml

rocapal en jderobot.org rocapal en jderobot.org
Jue Ene 30 18:48:51 CET 2014


Author: rocapal
Date: 2014-01-30 18:48:51 +0100 (Thu, 30 Jan 2014)
New Revision: 1152

Modified:
   trunk/Deps/tinyxml/CMakeLists.txt
Log:
#150 if lib is not found, the deps are not added


Modified: trunk/Deps/tinyxml/CMakeLists.txt
===================================================================
--- trunk/Deps/tinyxml/CMakeLists.txt	2014-01-30 08:21:16 UTC (rev 1151)
+++ trunk/Deps/tinyxml/CMakeLists.txt	2014-01-30 17:48:51 UTC (rev 1152)
@@ -16,7 +16,8 @@
 
 IF (NOT  LIBTINYXML_INCLUDE_DIR)
 	MESSAGE("*** LIBTINYXML not found")
+ELSE()
+	link_directories(${LIBTINYXML_LIBRARIES})
+	include_directories(${LIBTINYXML_INCLUDE_DIR})
 ENDIF()
 
-link_directories(${LIBTINYXML_LIBRARIES})
-include_directories(${LIBTINYXML_INCLUDE_DIR})



More information about the Jderobot-admin mailing list