]> git.mxchange.org Git - simgear.git/commitdiff
Further Windows Cmake tweaks.
authorJames Turner <zakalawe@mac.com>
Wed, 7 Sep 2011 19:41:55 +0000 (20:41 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 7 Sep 2011 19:41:55 +0000 (20:41 +0100)
CMakeLists.txt
simgear/io/httpget.cxx

index b79026c713f5ca084984beb6b0fb253b31456d7c..a82b0081f390bfca072eda079b9ec3fa3f58e0ba 100644 (file)
@@ -164,6 +164,7 @@ if(WIN32)
     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}")
index b65a9274bca6dc090c3d3ae15e46b540e67e2b3d..e10a29b41659dd3fc992b77358296ca5d40ce65b 100644 (file)
@@ -133,7 +133,9 @@ int main(int argc, char* argv[])
         cl.setProxy(proxyHost, proxyPort, proxyAuth);
     }
 
+#ifndef WIN32
     signal(SIGPIPE, SIG_IGN);
+#endif
 
     if (!outFile) {
         outFile = new SGFile(fileno(stdout));