mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
Adding ability for install to require external picojson
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
set(USE_EXTERNAL_PICOJSON @EXTERNAL_PICOJSON@)
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(OpenSSL REQUIRED)
|
||||
|
||||
if(USE_EXTERNAL_PICOJSON)
|
||||
find_dependency(picojson REQUIRED)
|
||||
endif()
|
||||
|
||||
include(${CMAKE_INSTALL_PREFIX}/jwt-cpp/jwt-cpp.cmake)
|
||||
|
||||
Reference in New Issue
Block a user