25 lines
895 B
Diff
Executable File
25 lines
895 B
Diff
Executable File
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index aa690fe..d3ff45d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -16,7 +16,7 @@ if (NOT DEFINED INSTALL_RAPIDJSON_HEADERS)
|
|
option(INSTALL_RAPIDJSON_HEADERS "Install rapidjson headers when make install is executed" ON)
|
|
endif()
|
|
|
|
-include(cmake_scripts/external-projects.cmake)
|
|
+#include(cmake_scripts/external-projects.cmake)
|
|
|
|
if (EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
message(STATUS "Using conan configuration: ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
|
|
@@ -137,7 +137,9 @@ target_include_directories(${PROJECT_NAME}
|
|
|
|
SET_CPP_STANDARD(${PROJECT_NAME})
|
|
|
|
-add_dependencies(${PROJECT_NAME} externalRapidJson)
|
|
+#add_dependencies(${PROJECT_NAME} externalRapidJson)
|
|
+find_package(RapidJSON CONFIG REQUIRED)
|
|
+target_include_directories(${PROJECT_NAME} PRIVATE ${RAPIDJSON_INCLUDE_DIRS})
|
|
|
|
if (NOT EMBEDDED_RESTC_CPP)
|
|
|