mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Fix setting dest for non-m4 path
This commit is contained in:
parent
d02a9a21e7
commit
c85c804279
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user