cmake: Replace a bogus check for MSVC with WIN32

MSVC++ isn't the only compiler that targets Win32, and the file in
question is needed for all of them.
This commit is contained in:
Ignacio R. Morelle 2014-12-16 04:37:29 -03:00
parent 7257462ff5
commit 00f0322690

View file

@ -1093,12 +1093,12 @@ set(libwesnoth-game_STAT_SRC
)
# On windows only, this file needs to be linked, as its header is included #ifdef win32.
if(MSVC)
if(WIN32)
set(libwesnoth-game_STAT_SRC
${libwesnoth-game_STAT_SRC}
desktop/windows_tray_notification.cpp
)
endif(MSVC)
endif(WIN32)
# For libdbus (essentially just for linux), this file needs to be linked, as its header is included #ifdef HAVE_LIBDBUS
if(LIBDBUS_FOUND)