2013-10-05 10:17:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Right now this is a more or less inelegant hack to get Windows
|
|
|
|
# builds going with MSVC
|
|
|
|
|
|
|
|
if( WIN32 )
|
|
|
|
|
|
|
|
# We might need something like "if (CMAKE_COMPILER_ID MATCHES "MSVC")"
|
|
|
|
# here to support other compilers on Windows.
|
|
|
|
|
2013-10-06 21:25:44 +00:00
|
|
|
set( WIN_PSAPI_LIBRARY psapi.lib )
|
2013-10-05 20:49:44 +00:00
|
|
|
set( WIN_WSOCK32_LIBRARY wsock32.lib )
|
2013-10-11 10:32:11 +00:00
|
|
|
set( WIN_COMCTL32_LIBRARY comctl32.lib )
|
2013-10-05 20:49:44 +00:00
|
|
|
|
2015-08-20 03:29:13 +00:00
|
|
|
# Linking with setargv.obj enables "wildcard expansion" of command-line arguments
|
2015-08-20 18:54:04 +00:00
|
|
|
set( WS_LINK_FLAGS "${WS_LINK_FLAGS} setargv.obj" )
|
2013-10-05 10:17:21 +00:00
|
|
|
|
|
|
|
endif()
|