Revision: 68955
          http://sourceforge.net/p/brlcad/code/68955
Author:   brlcad
Date:     2016-10-01 02:17:37 +0000 (Sat, 01 Oct 2016)
Log Message:
-----------
need to call LINK_DIRECTORIES() to set the ldflag search dir

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2016-10-01 02:05:11 UTC (rev 68954)
+++ brlcad/trunk/CMakeLists.txt 2016-10-01 02:17:37 UTC (rev 68955)
@@ -676,7 +676,7 @@
     include_directories(AFTER SYSTEM /usr/local/include)
   endif (IS_DIRECTORY /usr/local/include)
   if (IS_DIRECTORY /usr/local/lib)
-    set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} -L/usr/local/lib)
+    LINK_DIRECTORIES(/usr/local/lib)
   endif (IS_DIRECTORY /usr/local/lib)
 endif (IS_DIRECTORY /usr/local)
 

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