From 0357d479dc48f2abcdf029d85a83cc212552b739 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Tue, 21 Dec 2010 23:17:01 +0100 Subject: [PATCH] fixed rc file for msvc --- data/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 0c4f991..d0bd89a 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,8 +1,8 @@ set(SNORE_RCS ${SNORE_RCS} ../data/snore.qrc PARENT_SCOPE) if(WIN32) + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/zzz.rc "IDI_ICON1 ICON DISCARDABLE \"zzz.ico\"\n") if(MINGW) - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/zzz.rc "IDI_ICON1 ICON DISCARDABLE \"zzz.ico\"\n") find_program(WINDRES_EXECUTABLE NAMES windres) if(WINDRES_EXECUTABLE) exec_program(windres