Branch 'libkolab-0.4' - cmake/modules

Christian Mollekopf mollekopf at kolabsys.com
Wed May 15 00:31:44 CEST 2013


 cmake/modules/FindSWIG.cmake |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 2ca92aa7dd8589f1d0afc1adda14001bb19744b7
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Wed May 15 00:20:57 2013 +0200

    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

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)





More information about the commits mailing list