Skip to content

Commit cf0dab1

Browse files
Fix error in CMake config-file package (#387)
Fixes error ``` The link interface of target "jwt-cpp::jwt-cpp" contains: picojson::picojson> but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. ``` Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
1 parent 0c676f8 commit cf0dab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ if(${JWT_SSL_LIBRARY} MATCHES "wolfSSL")
132132
endif()
133133

134134
if(NOT JWT_DISABLE_PICOJSON AND JWT_EXTERNAL_PICOJSON)
135-
target_link_libraries(jwt-cpp INTERFACE picojson::picojson>)
135+
target_link_libraries(jwt-cpp INTERFACE picojson::picojson)
136136
endif()
137137

138138
# Hunter needs relative paths so the files are placed correctly

0 commit comments

Comments
 (0)