Indicate failure to find header with blank string
Use empty string instead of zero, so it can be tested with #ifdef as well as #if in the C++ source code.
This commit is contained in:
parent
0eb46b567d
commit
ed4b62ae4b
@ -30,9 +30,9 @@ endif (AGMG_SOURCES)
|
||||
|
||||
# set value for config.h
|
||||
if (AGMG_SOURCES)
|
||||
set (HAVE_AGMG 1)
|
||||
set (HAVE_AGMG 1 CACHE INT "Is AGMG present?")
|
||||
else (AGMG_SOURCES)
|
||||
set (HAVE_AGMG 0)
|
||||
set (HAVE_AGMG "" CACHE INT "Is AGMG present?")
|
||||
endif (AGMG_SOURCES)
|
||||
|
||||
# handle REQUIRED and QUIET standard options
|
||||
|
Loading…
Reference in New Issue
Block a user