Merge pull request #62 from gocarlos/patch-1

build: add add_library alias to cmake
This commit is contained in:
Arun Muralidharan 2020-03-21 10:23:24 +05:30 committed by GitHub
commit b6845543ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@ else()
add_definitions(-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON)
endif()
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_14)
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
# ##############################################################################
# TESTS