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 )