Prevent Qt headers from appearing in the list of variables shown by CMakeSetup/ccmake

This commit is contained in:
Fernando Cacciola 2008-04-01 15:42:03 +00:00
parent 9f664c3ac7
commit 80c93d487c
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ MACRO(QT3_AUTOMOC)
NAMES ${_basename}.h
PATHS ${_current_abs_PATH} ${CMAKE_CURRENT_SOURCE_DIR} ${_inc_DIRS}
NO_DEFAULT_PATH)
MARK_AS_ADVANCED(${_header})
set ( ${_header} ${${_header}} CACHE INTERNAL "hide this" FORCE )
if (NOT ${_header})
set( moc_source "${_current_abs_FILE}" )