Built and linked nlohmann::json package
This commit is contained in:
@@ -15,6 +15,11 @@ set (HEADERS
|
||||
model/Song.h
|
||||
)
|
||||
|
||||
set(JSON_BuildTests OFF CACHE INTERNAL "")
|
||||
|
||||
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/json)
|
||||
|
||||
|
||||
add_library( # Sets the name of the library.
|
||||
native-lib
|
||||
@@ -47,7 +52,9 @@ find_library( # Sets the name of the path variable.
|
||||
|
||||
target_link_libraries( # Specifies the target library.
|
||||
native-lib
|
||||
PRIVATE nlohmann_json::nlohmann_json
|
||||
|
||||
# Links the target library to the log library
|
||||
# included in the NDK.
|
||||
${log-lib} )
|
||||
${log-lib}
|
||||
)
|
||||
Reference in New Issue
Block a user