diff --git a/src/Mod/PartDesign/App/json.hpp b/src/3rdParty/json/single_include/nlohmann/json.hpp similarity index 100% rename from src/Mod/PartDesign/App/json.hpp rename to src/3rdParty/json/single_include/nlohmann/json.hpp diff --git a/src/Mod/PartDesign/App/json_fwd.hpp b/src/3rdParty/json/single_include/nlohmann/json_fwd.hpp similarity index 100% rename from src/Mod/PartDesign/App/json_fwd.hpp rename to src/3rdParty/json/single_include/nlohmann/json_fwd.hpp diff --git a/src/Mod/PartDesign/App/CMakeLists.txt b/src/Mod/PartDesign/App/CMakeLists.txt index d74a77c1d5..d8db758576 100644 --- a/src/Mod/PartDesign/App/CMakeLists.txt +++ b/src/Mod/PartDesign/App/CMakeLists.txt @@ -16,6 +16,7 @@ include_directories( ${PYTHON_INCLUDE_DIRS} ${XercesC_INCLUDE_DIRS} ${QT_INCLUDE_DIR} + ${CMAKE_SOURCE_DIR}/src/3rdParty/json/single_include/nlohmann/ ) link_directories(${OCC_LIBRARY_DIR}) diff --git a/src/Mod/PartDesign/Gui/CMakeLists.txt b/src/Mod/PartDesign/Gui/CMakeLists.txt index b3f5767dc7..d80be20bda 100644 --- a/src/Mod/PartDesign/Gui/CMakeLists.txt +++ b/src/Mod/PartDesign/Gui/CMakeLists.txt @@ -15,6 +15,7 @@ include_directories( ${PYTHON_INCLUDE_DIRS} ${XercesC_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR} + ${CMAKE_SOURCE_DIR}/src/3rdParty/json/single_include/nlohmann/ ) link_directories(${OCC_LIBRARY_DIR})