Revision: 40942
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40942&view=rev
Author:   starseeker
Date:     2010-10-07 23:11:47 +0000 (Thu, 07 Oct 2010)

Log Message:
-----------
We want to check /usr/local - try to define the variables needed

Modified Paths:
--------------
    brlcad/branches/cmake/CMakeLists.txt
    brlcad/branches/cmake/misc/CMake/BRLCAD_CheckFunctions.cmake

Modified: brlcad/branches/cmake/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/CMakeLists.txt        2010-10-07 22:38:42 UTC (rev 
40941)
+++ brlcad/branches/cmake/CMakeLists.txt        2010-10-07 23:11:47 UTC (rev 
40942)
@@ -210,6 +210,11 @@
 ENDIF(NOT WIN32)
 
 #---------------------------------------------------------------------
+# We want to check /usr/local by default, so add it 
+SET(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH};/usr/local)
+SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES};/usr/local/include)
+
+#---------------------------------------------------------------------
 # Set build type here. Doing this wrong, see 
http://www.cmake.org/Wiki/CMake_Useful_Variables
 # for a more complete list of types and the mechanism to define new ones - 
dunno if 
 # set_property can be made to work here or not.  Reason to do this is in CMake 
gui it gives

Modified: brlcad/branches/cmake/misc/CMake/BRLCAD_CheckFunctions.cmake
===================================================================
--- brlcad/branches/cmake/misc/CMake/BRLCAD_CheckFunctions.cmake        
2010-10-07 22:38:42 UTC (rev 40941)
+++ brlcad/branches/cmake/misc/CMake/BRLCAD_CheckFunctions.cmake        
2010-10-07 23:11:47 UTC (rev 40942)
@@ -2,6 +2,7 @@
 # and otherwise wrap check macros in extra logic as needed
 
 INCLUDE(CheckFunctionExists)
+INCLUDE(CheckIncludeFile)
 INCLUDE(CheckIncludeFiles)
 INCLUDE(CheckIncludeFileCXX)
 INCLUDE(CheckTypeSize)


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to