equal
deleted
inserted
replaced
76 |
76 |
77 if(MINGW) |
77 if(MINGW) |
78 # resource compilation for mingw |
78 # resource compilation for mingw |
79 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o |
79 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o |
80 COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR} |
80 COMMAND windres -I ${CMAKE_CURRENT_SOURCE_DIR} |
81 -i ${CMAKE_CURRENT_SOURCE_DIR}/res/hedgewars.rc |
81 -i ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars.rc |
82 -o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
82 -o ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
83 set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
83 set(hwfr_src ${hwfr_src} ${CMAKE_CURRENT_BINARY_DIR}/hedgewars_rc.o) |
84 else(MINGW) |
84 else(MINGW) |
85 set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
85 set(hwfr_src ${hwfr_src} res/hedgewars.rc) |
86 endif(MINGW) |
86 endif(MINGW) |