cmake: cmake is really a strange macro language

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37173 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-01-10 23:01:13 +00:00
parent e576a4e3b5
commit cdb3b00033

View File

@ -268,7 +268,8 @@ macro(lyx_add_info_files group)
endif()
endif()
endforeach()
if(group)
set(check_group ${group}) #cmake bug?
if(check_group)
source_group(${group} FILES ${lyx_${group}_info_files})
endif()
set(lyx_info_files ${lyx_info_files} ${lyx_${group}_info_files})