Revision: 7833
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7833&view=rev
Author:   thjc
Date:     2009-06-10 15:09:50 +0000 (Wed, 10 Jun 2009)

Log Message:
-----------
disable snd and epuck if stl not present

Modified Paths:
--------------
    code/player/trunk/server/drivers/mixed/epuck/CMakeLists.txt
    code/player/trunk/server/drivers/position/snd/CMakeLists.txt

Modified: code/player/trunk/server/drivers/mixed/epuck/CMakeLists.txt
===================================================================
--- code/player/trunk/server/drivers/mixed/epuck/CMakeLists.txt 2009-06-10 
14:15:38 UTC (rev 7832)
+++ code/player/trunk/server/drivers/mixed/epuck/CMakeLists.txt 2009-06-10 
15:09:50 UTC (rev 7833)
@@ -1,3 +1,8 @@
-PLAYERDRIVER_OPTION (epuck build_epuck ON)
+IF (HAVE_STL)
+    PLAYERDRIVER_OPTION (epuck build_epuck ON)
+ELSE (HAVE_STL)
+    PLAYERDRIVER_OPTION (epuck build_epuck OFF "STL not found")
+ENDIF (HAVE_STL)
+
 PLAYERDRIVER_REJECT_OS (epuck build_epuck PLAYER_OS_WIN)
 PLAYERDRIVER_ADD_DRIVER (epuck build_epuck SOURCES epuckCamera.cpp 
epuckDriver.cpp epuckInterface.cpp epuckIR.cpp epuckLEDs.cpp 
epuckPosition2d.cpp serialPort.cpp)

Modified: code/player/trunk/server/drivers/position/snd/CMakeLists.txt
===================================================================
--- code/player/trunk/server/drivers/position/snd/CMakeLists.txt        
2009-06-10 14:15:38 UTC (rev 7832)
+++ code/player/trunk/server/drivers/position/snd/CMakeLists.txt        
2009-06-10 15:09:50 UTC (rev 7833)
@@ -1,2 +1,6 @@
-PLAYERDRIVER_OPTION (snd build_snd ON)
+IF (HAVE_STL)
+    PLAYERDRIVER_OPTION (snd build_snd ON)
+ELSE (HAVE_STL)
+    PLAYERDRIVER_OPTION (snd build_snd OFF "STL not found")
+ENDIF (HAVE_STL)
 PLAYERDRIVER_ADD_DRIVER (snd build_snd SOURCES gap_and_valley.cc  
gap_nd_nav.cc  snd.cc )


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to