summaryrefslogtreecommitdiff
path: root/cmake/modules/UseWinLibs.cmake
blob: c5d986e072da3c6d0000e9da7680bb2da76434d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# $Id$
#

# 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.

	set( WIN_SETARGV_OBJECT   setargv.obj )

	set( WS_LINK_FLAGS ${WS_LINK_FLAGS} "${WIN_SETARGV_OBJECT}" )

endif()