mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +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})
|
target_link_libraries(${PROJECT_NAME} INTERFACE ${OpenSSL_LIBRARIES})
|
||||||
if(NOT CPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
if(NOT CPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
||||||
target_link_libraries(${PROJECT_NAME} INTERFACE nlohmann_json::nlohmann_json)
|
target_link_libraries(${PROJECT_NAME} INTERFACE nlohmann_json::nlohmann_json)
|
||||||
|
else()
|
||||||
add_definitions(-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
add_definitions(-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
||||||
endif()
|
endif()
|
||||||
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_14)
|
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_14)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue