Use the same LLIBS set for cmake at Win64 platform as scons uses.

This fixes linking errors occurred recently for me (kinda of SDL
and registry stuff)

Now it works perfectly, thanks to Campbell for tip :)
This commit is contained in:
Sergey Sharybin
2011-04-10 14:44:57 +00:00
parent f2b9dfe9f7
commit 1c11e40cb7

View File

@@ -543,7 +543,7 @@ elseif(WIN32)
if(MSVC)
if(CMAKE_CL_64)
set(LLIBS kernel32 user32 vfw32 winmm ws2_32 )
set(LLIBS ws2_32 vfw32 winmm kernel32 user32 gdi32 comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid )
else()
set(LLIBS kernel32 user32 gdi32 comdlg32 advapi32 shell32 ole32 oleaut32 uuid ws2_32 vfw32 winmm)
endif()