fixed rc file for msvc

This commit is contained in:
Patrick von Reth 2010-12-21 23:17:01 +01:00
parent 2075bc04d7
commit 0357d479dc
1 changed files with 1 additions and 1 deletions

View File

@ -1,8 +1,8 @@
set(SNORE_RCS ${SNORE_RCS} ../data/snore.qrc PARENT_SCOPE)
if(WIN32)
if(MINGW)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/zzz.rc "IDI_ICON1 ICON DISCARDABLE \"zzz.ico\"\n")
if(MINGW)
find_program(WINDRES_EXECUTABLE NAMES windres)
if(WINDRES_EXECUTABLE)
exec_program(windres