You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2012/12/13 23:38:31 UTC

svn commit: r1421586 - /qpid/proton/trunk/proton-c/CMakeLists.txt

Author: astitcher
Date: Thu Dec 13 22:38:30 2012
New Revision: 1421586

URL: http://svn.apache.org/viewvc?rev=1421586&view=rev
Log:
PROTON-185: Proton-C build fails with older versions of cmake
- Turn of checking for undefined librarys symbols for older versions
  of cmake as there are bugs in which libraries get linked

Modified:
    qpid/proton/trunk/proton-c/CMakeLists.txt

Modified: qpid/proton/trunk/proton-c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/CMakeLists.txt?rev=1421586&r1=1421585&r2=1421586&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/CMakeLists.txt Thu Dec 13 22:38:30 2012
@@ -57,8 +57,12 @@ set (PROTON_SHARE ${SHARE_INSTALL_DIR}/p
 
 # Can't use ${CMAKE_VERSION) as it is not available in all versions of cmake 2.6
 if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.8.0")
+    # OPTIONAL does not exist in install before 2.8 so always make docs and install
     set (OPTIONAL_ARG "")
     add_custom_target(docs ALL)
+    # There are bugs in the OpenSSL detection that mean -lcrypto is missed from the link line
+    # so turn off unknown symbol warnings
+    set (NOENABLE_UNDEFINED_ERROR ON)
 else()
     set (OPTIONAL_ARG OPTIONAL)
     add_custom_target(docs)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org