]> git.lyx.org Git - features.git/commitdiff
Do not set all CMake files as C header files. This fixes resource compilation.
authorJoost Verburg <joostverburg@users.sourceforge.net>
Wed, 16 Feb 2011 20:51:40 +0000 (20:51 +0000)
committerJoost Verburg <joostverburg@users.sourceforge.net>
Wed, 16 Feb 2011 20:51:40 +0000 (20:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37702 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/modules/LyXMacros.cmake

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