Built and linked nlohmann::json package

This commit is contained in:
kdeng00
2019-09-29 22:02:06 -04:00
parent 356f75d0c5
commit eb749a7b37
11 changed files with 215 additions and 56 deletions
+8 -1
View File
@@ -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}
)