[brlcad-commits] SF.net SVN: brlcad:[40153] brlcad/branches/cmake/misc/CMake/ BRLCAD_ThirdParty.cma
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2010-08-13 17:41:40
|
Revision: 40153 http://brlcad.svn.sourceforge.net/brlcad/?rev=40153&view=rev Author: starseeker Date: 2010-08-13 17:41:34 +0000 (Fri, 13 Aug 2010) Log Message: ----------- Ah - need to set key variables to *-NOTFOUND prior to each run of this macro, to allow an option change to actually reset their values - otherwise, Find*.cmake won't actually change these values. Modified Paths: -------------- brlcad/branches/cmake/misc/CMake/BRLCAD_ThirdParty.cmake Modified: brlcad/branches/cmake/misc/CMake/BRLCAD_ThirdParty.cmake =================================================================== --- brlcad/branches/cmake/misc/CMake/BRLCAD_ThirdParty.cmake 2010-08-13 17:08:04 UTC (rev 40152) +++ brlcad/branches/cmake/misc/CMake/BRLCAD_ThirdParty.cmake 2010-08-13 17:41:34 UTC (rev 40153) @@ -1,5 +1,7 @@ #----------------------------------------------------------------------------- MACRO(BRLCAD_THIRD_PARTY_OPTION upper lower) + SET(${upper}_LIBRARY "${lower}-NOTFOUND") + SET(${upper}_INCLUDE_DIR "${lower}-NOTFOUND") OPTION(BRLCAD_BUILD_LOCAL_${upper} "Build the local ${lower} library." ON) MARK_AS_ADVANCED(BRLCAD_BUILD_LOCAL_${upper}) IF(NOT BRLCAD_BUILD_LOCAL_${upper}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |