Use custom RapidJSON to build auto-makepkg

This commit is contained in:
Martchus 2020-08-18 02:30:57 +02:00
parent 469b427ea3
commit 6e05b57a2f
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ enable_testing()
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true)
get_filename_component(RAPIDJSON_INCLUDE_DIRS "${SUBDIRS_PREFIX}/3rdparty/rapidjson/include" ABSOLUTE)
if (EXISTS "${RAPIDJSON_INCLUDE_DIRS}")
set(RapidJSON_FOUND YES)
message(STATUS "Found custom RapidJSON under: ${RAPIDJSON_INCLUDE_DIRS}")
endif ()
add_subdirectory(${SUBDIRS_PREFIX}/c++utilities c++utilities)
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_SOURCE_DIR}/cmake/modules)
link_directories(${CPP_UTILITIES_BINARY_DIR})