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 df5af91 commit 96ebec4Copy full SHA for 96ebec4
attachments/CMake/Findnlohmann_json.cmake
@@ -60,7 +60,7 @@ if(NOT nlohmann_json_INCLUDE_DIR)
60
if(NOT nlohmann_json_POPULATED)
61
FetchContent_Populate(nlohmann_json)
62
63
- if(android)
+ if(ANDROID)
64
# Update the minimum required CMake version before including the CMakeLists.txt
65
file(READ "${nlohmann_json_SOURCE_DIR}/CMakeLists.txt" NLOHMANN_JSON_CMAKE_CONTENT)
66
string(REPLACE "cmake_minimum_required(VERSION 3.1"
@@ -115,7 +115,7 @@ endif()
115
116
# Set the variables
117
include(FindPackageHandleStandardArgs)
118
-find_package_handle_standard_args(nlohmann_json
+find_package_handle_standard_args(nlohmann_json
119
REQUIRED_VARS nlohmann_json_INCLUDE_DIR
120
)
121
0 commit comments