Skip to content

Commit 0829e5f

Browse files
author
timlinux
committedFeb 27, 2007
Detect msvc when setting application icon logic
git-svn-id: http://svn.osgeo.org/qgis/trunk@6720 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent dc61196 commit 0829e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ENDIF (PYTHON_FOUND)
151151
QT4_WRAP_CPP(QGIS_APP_MOC_SRCS ${QGIS_APP_MOC_HDRS})
152152

153153

154-
IF (WIN32)
154+
IF (WIN32 AND NOT MSVC)
155155

156156
# Icon for windows
157157
# Note: can't include .rc directly to source files
@@ -178,7 +178,7 @@ IF (WIN32)
178178
SET(QGIS_APP_SRCS ${QGIS_APP_SRCS} icon.rc)
179179
ENDIF( MINGW )
180180

181-
ENDIF (WIN32)
181+
ENDIF (WIN32 AND NOT MSVC)
182182

183183
# This is the right way to include icon in MSVC but currently
184184
# it ends with error that qgis_win322.ico is old DIB and it has to be converted

0 commit comments

Comments
 (0)
Please sign in to comment.