mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
fix: remove -p0 from Clang & rapidjson
This commit is contained in:
@@ -399,7 +399,7 @@ if(USE_DISCORD_PRESENCE)
|
|||||||
# Check if the target directory exists before trying to patch
|
# Check if the target directory exists before trying to patch
|
||||||
if(EXISTS "${PATCH_TARGET_DIR}")
|
if(EXISTS "${PATCH_TARGET_DIR}")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git apply -p0 --ignore-whitespace "${PATCH_FILE}"
|
COMMAND git apply --ignore-whitespace "${PATCH_FILE}"
|
||||||
WORKING_DIRECTORY "${PATCH_TARGET_DIR}"
|
WORKING_DIRECTORY "${PATCH_TARGET_DIR}"
|
||||||
RESULT_VARIABLE PATCH_RESULT
|
RESULT_VARIABLE PATCH_RESULT
|
||||||
OUTPUT_QUIET
|
OUTPUT_QUIET
|
||||||
@@ -422,7 +422,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|||||||
|
|
||||||
if(EXISTS "${MCL_PATCH_TARGET_DIR}")
|
if(EXISTS "${MCL_PATCH_TARGET_DIR}")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git apply -p0 --ignore-whitespace "${MCL_PATCH_FILE}"
|
COMMAND git apply --ignore-whitespace "${MCL_PATCH_FILE}"
|
||||||
WORKING_DIRECTORY "${MCL_PATCH_TARGET_DIR}"
|
WORKING_DIRECTORY "${MCL_PATCH_TARGET_DIR}"
|
||||||
RESULT_VARIABLE MCL_PATCH_RESULT
|
RESULT_VARIABLE MCL_PATCH_RESULT
|
||||||
OUTPUT_QUIET
|
OUTPUT_QUIET
|
||||||
|
|||||||
Reference in New Issue
Block a user