Attempt to get linking working with cmake - without success so far.
svn path=/trunk/; revision=52377
This commit is contained in:
parent
438f4be98a
commit
7b3ac2ae6b
|
@ -465,6 +465,9 @@ foreach(PACKAGE ${PACKAGELIST})
|
|||
endif()
|
||||
endforeach()
|
||||
|
||||
# Provide Windows system lib names
|
||||
include( UseWinLibs )
|
||||
|
||||
#packaging
|
||||
include(CPackConfig.txt)
|
||||
|
||||
|
|
|
@ -0,0 +1,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()
|
Loading…
Reference in New Issue