Skip to content

Commit

Permalink
Detect msvc when setting application icon logic
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6720 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 27, 2007
1 parent dc61196 commit 0829e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/CMakeLists.txt
Expand Up @@ -151,7 +151,7 @@ ENDIF (PYTHON_FOUND)
QT4_WRAP_CPP(QGIS_APP_MOC_SRCS ${QGIS_APP_MOC_HDRS})


IF (WIN32)
IF (WIN32 AND NOT MSVC)

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

ENDIF (WIN32)
ENDIF (WIN32 AND NOT MSVC)

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

0 comments on commit 0829e5f

Please sign in to comment.