diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-10 18:44:57 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-10 18:44:57 +0400 |
commit | 1c11e40cb7ed708228b70284a62be34916ec1b4d (patch) | |
tree | 2be24de20c4e123b1501d0897c55c8c2edf4b1e3 /CMakeLists.txt | |
parent | f2b9dfe9f78fff1fb1e4e8c9c86f52487bd61c09 (diff) |
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 :)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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() |