mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-12-03 09:17:38 +00:00
* outline for wolfssl support
lots of missing symbols
* rm old libressl dockerfile
* ass wolfssl test + dry up workflows
with improved composite action having `use` keyword
* autoreconf
* brute force zap openssl headers
* Update action.yml
* try to access nested headers
* trying to log include headers
* more debug logs
* fix bad variable
* tweaks
* more features
* cleanup
* wolfssl is special like libressl
* test header order
* revert order
* trying wolfssl master
* adding wolfssl compatiblity macros
trying to get access to
1662b01157/wolfssl/ssl.h (L3960)
* trying no newline
to fix tests
* typo
* bad copy paste pt2
* not a new line problem
* typo
* workaround failing helper test
* update cmake test
list(TRANSFORM raised min
* test cmake install with wolfSSL
* add missing EOF
* more generic wolfssl install
since there is no release that works yet
* typo
* debug print
* add more checks
* force HAVE_ECC
* install master
* hunter does not support wolfssl
* pretty job name
* clean up
* Update README.md
* bump to latest master
* Update cmake.yml
* bump coveralls action
* switch badge name to sha
* Update jwt.yml
they published a bad tag =)
20 lines
588 B
CMake
20 lines
588 B
CMake
@PACKAGE_INIT@
|
|
|
|
set(JWT_EXTERNAL_PICOJSON @JWT_EXTERNAL_PICOJSON@)
|
|
set(JWT_SSL_LIBRARY @JWT_SSL_LIBRARY@)
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
if(${JWT_SSL_LIBRARY} MATCHES "wolfSSL")
|
|
find_dependency(PkgConfig REQUIRED)
|
|
pkg_check_modules(wolfssl REQUIRED IMPORTED_TARGET wolfssl)
|
|
list(TRANSFORM wolfssl_INCLUDE_DIRS APPEND "/wolfssl") # This is required to access OpenSSL compatability API
|
|
else()
|
|
find_dependency(${JWT_SSL_LIBRARY} REQUIRED)
|
|
endif()
|
|
|
|
if(JWT_EXTERNAL_PICOJSON)
|
|
find_dependency(picojson REQUIRED)
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/jwt-cpp-targets.cmake")
|