From dac47c802152c4707e1eefd3706c7f21466ee30e Mon Sep 17 00:00:00 2001 From: Nathan Hourt Date: Thu, 24 Oct 2019 00:33:24 -0500 Subject: [PATCH] Fix in cat-parts.cmake Some versions of CMake require these quotes to be here, or else the string contents are regarded as CMake code and parsing fails. --- programs/build_helpers/cat-parts.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/build_helpers/cat-parts.cmake b/programs/build_helpers/cat-parts.cmake index dd49fbaec2..bb85ca50cb 100644 --- a/programs/build_helpers/cat-parts.cmake +++ b/programs/build_helpers/cat-parts.cmake @@ -19,9 +19,9 @@ endforeach( HF ) if( EXISTS ${HARDFORK_FILE} ) file( READ ${HARDFORK_FILE} HFF ) - if( ${HFF} STREQUAL ${HARDFORK_CONTENT} ) + if( "${HFF}" STREQUAL "${HARDFORK_CONTENT}" ) set( HARDFORK_REGENERATE FALSE ) - endif( ${HFF} STREQUAL ${HARDFORK_CONTENT} ) + endif( "${HFF}" STREQUAL "${HARDFORK_CONTENT}" ) endif( EXISTS ${HARDFORK_FILE} ) if( HARDFORK_REGENERATE )