[brlcad-commits] SF.net SVN: brlcad:[40942] brlcad/branches/cmake
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2010-10-07 23:11:54
|
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. |