diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 91afadb1..b7300e46 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -81,22 +81,6 @@ INCLUDE_DIRECTORIES( ${GUICHAN_INCLUDE_DIR} ) -# enable rc-handling with mingw -# most likely this part can be kicked out with some later cmake version -IF (MINGW) - FIND_PATH(MINGW_INCLUDE_DIR windows.h $ENV{INCLUDE}) - IF (MINGW_INCLUDE_DIR) - MESSAGE(STATUS "Found mingw headers: ${MINGW_INCLUDE_DIR}") - INCLUDE_DIRECTORIES(${MINGW_INCLUDE_DIR}) - ELSE() - MESSAGE(FATAL_ERROR "Unable to find mingw headers. Required for windres") - ENDIF() - SET(CMAKE_RC_COMPILER_INIT windres) - ENABLE_LANGUAGE(RC) - SET(CMAKE_RC_COMPILE_OBJECT - "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -O coff -o <OBJECT> <SOURCE>") -ENDIF() - SET(SRCS gui/widgets/avatarlistbox.cpp gui/widgets/avatarlistbox.h |