From 448cd01e4a03e86a723878ec67602634196ac8bc Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 27 Nov 2013 20:43:09 +0100 Subject: [PATCH] csaaaa --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e51db25f5..138e539e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,14 +203,13 @@ if(MINGW AND WIN32) # MSVC takes care of this automatically - no need to use windres.exe # for MSVC compilers. elseif(OS2) - #set(WINDRES $ENV{PATH}/windres.exe) set(WINDRES windres.exe) message(STATUS "[${APP_LOW_NAME}] Icon file binary will be builded for OS2.") message(STATUS "[${APP_LOW_NAME}] Used tool is: ${WINDRES}") add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/resources/executable_properties/rssguard_os2.o - COMMAND ${WINDRES} -i ${CMAKE_CURRENT_BINARY_DIR} - -r ${CMAKE_CURRENT_BINARY_DIR}/resources/executable_properties/rssguard_os2.rc + COMMAND ${WINDRES} -I ${CMAKE_CURRENT_BINARY_DIR} + -i ${CMAKE_CURRENT_BINARY_DIR}/resources/executable_properties/rssguard_os2.rc -o ${CMAKE_CURRENT_BINARY_DIR}/resources/executable_properties/rssguard_os2.o ) set(APP_SOURCES ${APP_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/resources/executable_properties/rssguard_os2.o)