cmake: don't add lyx.rc as info file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37776 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-02-23 18:53:56 +00:00
parent 14bf8c4c3a
commit 715d9784f1
2 changed files with 5 additions and 1 deletions

View File

@ -279,6 +279,7 @@ macro(lyx_add_info_files group)
if(NOT IS_DIRECTORY ${_it}) if(NOT IS_DIRECTORY ${_it})
get_filename_component(name ${_it} NAME) get_filename_component(name ${_it} NAME)
if(NOT ${_it} MATCHES "^/\\\\..*$;~$") if(NOT ${_it} MATCHES "^/\\\\..*$;~$")
set_source_files_properties(${_it} PROPERTIES HEADER_FILE_ONLY TRUE)
set(lyx_${group}_info_files ${lyx_${group}_info_files} ${_it}) set(lyx_${group}_info_files ${lyx_${group}_info_files} ${_it})
endif() endif()
endif() endif()

View File

@ -96,7 +96,10 @@ if(WIN32)
endif() endif()
lyx_find_info_files(LyXInfoFiles ${TOP_SRC_DIR}/*) lyx_find_info_files(LyXInfoFiles ${TOP_SRC_DIR}/*)
lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/*) lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/*.txt)
lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/*.cmake)
lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/*.h)
lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/*.msvc)
lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/modules/*) lyx_find_info_files(LyXCMakeFiles ${TOP_SRC_DIR}/development/cmake/modules/*)
lyx_find_info_files(LyXUiFiles ${TOP_SRC_DIR}/lib/ui/*) lyx_find_info_files(LyXUiFiles ${TOP_SRC_DIR}/lib/ui/*)