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:
parent
7257462ff5
commit
00f0322690
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue