[Jderobot-admin] jderobot-r1153 - trunk/Deps/libxml2

rocapal en jderobot.org rocapal en jderobot.org
Jue Ene 30 18:55:50 CET 2014


Author: rocapal
Date: 2014-01-30 18:55:50 +0100 (Thu, 30 Jan 2014)
New Revision: 1153

Modified:
   trunk/Deps/libxml2/CMakeLists.txt
Log:
#150 deps only when lib is found


Modified: trunk/Deps/libxml2/CMakeLists.txt
===================================================================
--- trunk/Deps/libxml2/CMakeLists.txt	2014-01-30 17:48:51 UTC (rev 1152)
+++ trunk/Deps/libxml2/CMakeLists.txt	2014-01-30 17:55:50 UTC (rev 1153)
@@ -18,7 +18,7 @@
 
 IF (NOT  LIBXML2_INCLUDE_DIR)
 	MESSAGE("*** LIBXML2 not found")
+ELSE()
+	link_directories(${LIBXML2_LIBRARIES})
+	include_directories(${LIBXML2_INCLUDE_DIR})
 ENDIF()
-
-link_directories(${LIBXML2_LIBRARIES})
-include_directories(${LIBXML2_INCLUDE_DIR})



More information about the Jderobot-admin mailing list