Revision: 43108 http://brlcad.svn.sourceforge.net/brlcad/?rev=43108&view=rev Author: starseeker Date: 2011-02-08 13:09:46 +0000 (Tue, 08 Feb 2011)
Log Message: ----------- Don't try getting properties from openNURBS unless we're actually building it. Modified Paths: -------------- brlcad/branches/cmake/src/other/CMakeLists.txt Modified: brlcad/branches/cmake/src/other/CMakeLists.txt =================================================================== --- brlcad/branches/cmake/src/other/CMakeLists.txt 2011-02-08 02:27:08 UTC (rev 43107) +++ brlcad/branches/cmake/src/other/CMakeLists.txt 2011-02-08 13:09:46 UTC (rev 43108) @@ -818,33 +818,37 @@ # OpenNURBS Library THIRD_PARTY_OPTION(OPENNURBS openNURBS) THIRD_PARTY_SUBDIR(OPENNURBS openNURBS) -get_directory_property(OPENNURBS_HEADERS DIRECTORY openNURBS DEFINITION OPENNURBS_HEADERS) -SET(opennurbs_ignore_files - ${OPENNURBS_HEADERS} - BRL-CAD_changes.txt - example_brep - example_dump - example_gl - example_read - example_roundtrip - example_userdata - example_write - faq.txt - license.txt - opennurbs.rc - opennurbs.sln - opennurbs.vcproj - opennurbs_dll.cpp - opennurbs_dll_resource.h - opennurbs_gl.cpp - opennurbs_memory_new.cpp - opennurbs_precompiledheader.cpp - opennurbs_staticlib.vcproj - opennurbs_x.cpp - opennurbs_zlib_memory.cpp - readme.txt - ) -DISTCHECK_IGNORE(openNURBS opennurbs_ignore_files) +IF(BRLCAD_BUILD_LOCAL_OPENNURBS) + get_directory_property(OPENNURBS_HEADERS DIRECTORY openNURBS DEFINITION OPENNURBS_HEADERS) + SET(opennurbs_ignore_files + ${OPENNURBS_HEADERS} + BRL-CAD_changes.txt + example_brep + example_dump + example_gl + example_read + example_roundtrip + example_userdata + example_write + faq.txt + license.txt + opennurbs.rc + opennurbs.sln + opennurbs.vcproj + opennurbs_dll.cpp + opennurbs_dll_resource.h + opennurbs_gl.cpp + opennurbs_memory_new.cpp + opennurbs_precompiledheader.cpp + opennurbs_staticlib.vcproj + opennurbs_x.cpp + opennurbs_zlib_memory.cpp + readme.txt + ) + DISTCHECK_IGNORE(openNURBS opennurbs_ignore_files) +ELSE(BRLCAD_BUILD_LOCAL_OPENNURBS) + CMAKEFILES(openNURBS) +ENDIF(BRLCAD_BUILD_LOCAL_OPENNURBS) # STEP Class Libraries # If we don't have Lex/Yacc, we can't do STEP - conditionalize This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits