~dynamite-a-d/ubuntu/precise/cmake/fix-for-972419

« back to all changes in this revision

Viewing changes to Modules/FindSWIG.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-07-11 00:51:46 UTC
  • mfrom: (3.1.24 sid)
  • Revision ID: james.westby@ubuntu.com-20110711005146-v81594j17p4gqjrd
Tags: 2.8.5-1ubuntu1
Disable CTestTestUpload test as it requires internet access.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
# (To distribute this file outside of CMake, substitute the full
28
28
#  License text for the above reference.)
29
29
 
30
 
FIND_PROGRAM(SWIG_EXECUTABLE swig2.0 swig)
 
30
FIND_PROGRAM(SWIG_EXECUTABLE NAMES swig2.0 swig)
31
31
 
32
32
IF(SWIG_EXECUTABLE)
33
33
  EXECUTE_PROCESS(COMMAND ${SWIG_EXECUTABLE} -swiglib