We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe0d7f commit ba1077fCopy full SHA for ba1077f
CMakeLists.txt
@@ -107,11 +107,9 @@ if(JWT_EXTERNAL_PICOJSON)
107
target_link_libraries(jwt-cpp INTERFACE picojson::picojson>)
108
endif()
109
110
-# If Hunter is enabled, we need to explicit set relative paths so the files are palced correctly
111
-if(HUNTER_ENABLED)
+# Hunter needs relative paths so the files are palced correctly
+if(NOT JWT_CMAKE_FILES_INSTALL_DIR)
112
set(JWT_CMAKE_FILES_INSTALL_DIR cmake)
113
-elseif(NOT JWT_CMAKE_FILES_INSTALL_DIR)
114
- set(JWT_CMAKE_FILES_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/cmake)
115
116
117
configure_package_config_file(
0 commit comments