rapidjson
This commit is contained in:
@@ -43,6 +43,12 @@ endif()
|
||||
# Find dependencies
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
# Configure RapidJSON (header-only library)
|
||||
set(RAPIDJSON_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdParty/rapidjson")
|
||||
if(NOT EXISTS "${RAPIDJSON_INCLUDE_DIR}/rapidjson.h")
|
||||
message(FATAL_ERROR "RapidJSON not found at ${RAPIDJSON_INCLUDE_DIR}. Please ensure rapidjson is properly installed in the thirdParty directory.")
|
||||
endif()
|
||||
|
||||
# Add subdirectories
|
||||
add_subdirectory(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user