[Cmake-commits] [cmake-commits] hoffman committed Windows-gcc.cmake 1.21 1.22
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 2 12:11:05 EDT 2008
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv1102/Platform
Modified Files:
Windows-gcc.cmake
Log Message:
BUG: fix for 5705, link in standard libs for mingw
Index: Windows-gcc.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Windows-gcc.cmake,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** Windows-gcc.cmake 25 Sep 2008 21:02:06 -0000 1.21
--- Windows-gcc.cmake 2 Oct 2008 16:11:02 -0000 1.22
***************
*** 30,33 ****
--- 30,35 ----
SET(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib")
+ SET (CMAKE_C_STANDARD_LIBRARIES_INIT "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32")
+ SET(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
ENDIF(MINGW)
More information about the Cmake-commits
mailing list