diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-08 12:44:30 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-04-08 16:29:46 +0200 |
commit | d8acd00dff8b89d5a01cf3a24c58b1c7ea5ee99d (patch) | |
tree | 5e36ba6e9d1fe1739514ca4c6f63b5f3722b07ba /src/CMakeLists.txt | |
parent | 48d8caa6e5e6f2ea12f2eb3c25b21e08a38f66b9 (diff) | |
download | mana-d8acd00dff8b89d5a01cf3a24c58b1c7ea5ee99d.tar.gz mana-d8acd00dff8b89d5a01cf3a24c58b1c7ea5ee99d.tar.bz2 mana-d8acd00dff8b89d5a01cf3a24c58b1c7ea5ee99d.tar.xz mana-d8acd00dff8b89d5a01cf3a24c58b1c7ea5ee99d.zip |
CMake: Removed manual RC-compiler setup for MinGW
Works without in MSYS2, at least.
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 |