mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
chore: define vendor macro if needed
This commit is contained in:
parent
f43b6e93fa
commit
9920f88379
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ target_include_directories(
|
|||
target_link_libraries(${PROJECT_NAME} INTERFACE ${OpenSSL_LIBRARIES})
|
||||
if(NOT CPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE nlohmann_json::nlohmann_json)
|
||||
else()
|
||||
add_definitions(-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
||||
endif()
|
||||
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_14)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue