Commit d27b48fe authored by Adam Procter's avatar Adam Procter Committed by Scott Cyphers

Change path for module directory in external_json.cmake (#683)

parent 5431fdb4
...@@ -36,7 +36,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2) ...@@ -36,7 +36,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2)
UPDATE_COMMAND "" UPDATE_COMMAND ""
# cmake does not allow calling cmake functions so we call a cmake script in the Module # cmake does not allow calling cmake functions so we call a cmake script in the Module
# directory. # directory.
PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}patch_json.cmake PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/cmake/Modules/patch_json.cmake
) )
else() else()
ExternalProject_Add( ExternalProject_Add(
...@@ -49,7 +49,7 @@ else() ...@@ -49,7 +49,7 @@ else()
UPDATE_COMMAND "" UPDATE_COMMAND ""
# cmake does not allow calling cmake functions so we call a cmake script in the Module # cmake does not allow calling cmake functions so we call a cmake script in the Module
# directory. # directory.
PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}patch_json.cmake PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/cmake/Modules/patch_json.cmake
) )
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment