summaryrefslogtreecommitdiffhomepage
path: root/cmake/modules/apply_patch.cmake.in
blob: 61ce075444dc48f7dc6f1a60cdcd376c3874fff9 (plain)
1
2
3
4
5
# See ApplyPatch.cmake
if(NOT PATCH_FILE)
	message(FATAL_ERROR "no PATCH_FILE passed to the script")
endif()
execute_process(COMMAND @PATCH_COMMAND@ -Np1 INPUT_FILE ${PATCH_FILE})