We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent dc61196 commit 0829e5fCopy full SHA for 0829e5f
src/app/CMakeLists.txt
@@ -151,7 +151,7 @@ ENDIF (PYTHON_FOUND)
151
QT4_WRAP_CPP(QGIS_APP_MOC_SRCS ${QGIS_APP_MOC_HDRS})
152
153
154
-IF (WIN32)
+IF (WIN32 AND NOT MSVC)
155
156
# Icon for windows
157
# Note: can't include .rc directly to source files
@@ -178,7 +178,7 @@ IF (WIN32)
178
SET(QGIS_APP_SRCS ${QGIS_APP_SRCS} icon.rc)
179
ENDIF( MINGW )
180
181
-ENDIF (WIN32)
+ENDIF (WIN32 AND NOT MSVC)
182
183
# This is the right way to include icon in MSVC but currently
184
# it ends with error that qgis_win322.ico is old DIB and it has to be converted
0 commit comments