Fix setting dest for non-m4 path

This commit is contained in:
Magnus Ulimoen 2023-02-15 11:43:14 +01:00
parent d02a9a21e7
commit c85c804279

View File

@ -2005,7 +2005,7 @@ MACRO(GEN_m4 filename)
IF(NOT EXISTS ${fallbackdest})
MESSAGE(FATAL_ERROR "m4 is required to generate ${filename}.c. Please install m4 so that it is on the PATH and try again.")
ELSE()
SET(${dest} ${fallbackdest})
SET(dest ${fallbackdest})
ENDIF()
ELSE()
ADD_CUSTOM_COMMAND(