Revision: 68959
          http://sourceforge.net/p/brlcad/code/68959
Author:   brlcad
Date:     2016-10-01 03:05:41 +0000 (Sat, 01 Oct 2016)
Log Message:
-----------
check for uuid_generate only after we're sure we found the lib

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2016-10-01 03:04:47 UTC (rev 68958)
+++ brlcad/trunk/CMakeLists.txt 2016-10-01 03:05:41 UTC (rev 68959)
@@ -1869,8 +1869,10 @@
 BRLCAD_CHECK_LIBRARY(M m cos)
 
 # uuid library
-BRLCAD_CHECK_LIBRARY(UUID uuid uuid_generate)
 find_package(UUID)
+if (UUID_FOUND)
+  BRLCAD_CHECK_LIBRARY(UUID uuid uuid_generate)
+endif (UUID_FOUND)
 
 # network socket library (linux, bsd)
 BRLCAD_CHECK_LIBRARY(SOCKET socket socket)

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to