X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeLists.txt;h=381ac41cb411632e510be428475414d1690dac88;hb=2f6b84a2ccde482dea462de389b3556e1bccdb83;hp=de222a924e68ee279f4bb7d10480c94260c82edc;hpb=b5a4a5537063327f0a327d920bd48515cef44ce5;p=simgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index de222a92..381ac41c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.6) +cmake_minimum_required (VERSION 2.6.4) include (CheckFunctionExists) include (CheckIncludeFile) include (CheckCXXSourceCompiles) @@ -162,6 +162,9 @@ if(WIN32) # assumed on Windows set(HAVE_GETLOCALTIME 1) + + set( WINSOCK_LIBRARY "ws2_32.lib" ) + set( RT_LIBRARY "winmm" ) endif(WIN32) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS}")