Changeset 14438


Ignore:
Timestamp:
Jan 7, 2015, 2:49:56 AM (6 years ago)
Author:
mikedld
Message:

#4400: Fix CyaSSL version check (CMake)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/FindCyaSSL.cmake

    r14436 r14438  
    2222        file(STRINGS "${CYASSL_INCLUDE_DIR}/cyassl/version.h" CYASSL_VERSION_STR REGEX "^#define[\t ]+LIBCYASSL_VERSION_STRING[\t ]+\"[^\"]+\"")
    2323        if(CYASSL_VERSION_STR MATCHES "\"([^\"]+)\"")
    24             set(CYASSL_VERSION_STR "${CMAKE_MATCH_1}")
     24            set(CYASSL_VERSION "${CMAKE_MATCH_1}")
    2525        endif()
    2626    endif()
     
    3232include(FindPackageHandleStandardArgs)
    3333
    34 find_package_handle_standard_args(CYASSL
     34find_package_handle_standard_args(CyaSSL
    3535    REQUIRED_VARS
    3636        CYASSL_LIBRARY
Note: See TracChangeset for help on using the changeset viewer.