Text archives Help
- From: abe@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r1438 - trunk/SwigInterface
- Date: Thu, 28 Jun 2007 18:40:14 -0600 (MDT)
Author: abe
Date: Thu Jun 28 18:40:13 2007
New Revision: 1438
Modified:
trunk/SwigInterface/CMakeLists.txt
Log:
Added code to search for swig in the path before giving up and forcing the
user to specify its location.
M CMakeLists.txt
Modified: trunk/SwigInterface/CMakeLists.txt
==============================================================================
--- trunk/SwigInterface/CMakeLists.txt (original)
+++ trunk/SwigInterface/CMakeLists.txt Thu Jun 28 18:40:13 2007
@@ -8,6 +8,9 @@
# that this needs to be set before you try to find swig.
SET(CMAKE_SWIG_OUTDIR ${LIBRARY_OUTPUT_PATH})
# Only process the swig directory if we have swig stuff
+
+ # Search for swig in the system path.
+ FIND_PATH(SWIG_DIR swig)
FIND_PACKAGE(SWIG)
IF (SWIG_FOUND)
- [MANTA] r1438 - trunk/SwigInterface, abe, 06/28/2007
Archive powered by MHonArc 2.6.16.