From 1c11e40cb7ed708228b70284a62be34916ec1b4d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 10 Apr 2011 14:44:57 +0000 Subject: 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 :) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d48cda6517a..703d3fc10dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() -- cgit v1.2.3