summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-05-14 22:20:57 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-05-14 22:27:16 (GMT)
commite7423d80e03085d8dccda629baeb17cbb99a42d4 (patch)
treead88c2e9ecc7d3521ad0a01d3b8e1027f1d88e5f
parentc2c54d5326f33a82eb81f0906cbad5390f1b861e (diff)
downloadlibkolab-e7423d80e03085d8dccda629baeb17cbb99a42d4.tar.gz
Build with cmake 2.8.11
find_package_handle_standard_args already sets SWIG_FOUND, and building breaks with cmake 2.8.11 otherwise. BUG: 1723 FIXED-IN: 0.4.3
-rw-r--r--cmake/modules/FindSWIG.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/modules/FindSWIG.cmake b/cmake/modules/FindSWIG.cmake
index f2476a6..010ebb7 100644
--- a/cmake/modules/FindSWIG.cmake
+++ b/cmake/modules/FindSWIG.cmake
@@ -1,9 +1,4 @@
find_program(SWIG swig /usr/bin/)
-if(SWIG)
- set(SWIG_FOUND ON)
- message("SWIG found")
-endif()
#abort if any of the requireds are missing
-find_package_handle_standard_args(SWIG DEFAULT_MSG
- SWIG_FOUND SWIG) \ No newline at end of file
+find_package_handle_standard_args(SWIG DEFAULT_MSG SWIG)