Further Windows Cmake tweaks.

This commit is contained in:
James Turner
2011-09-07 20:41:55 +01:00
parent 3a210d6fa6
commit b0015ab6e8
2 changed files with 3 additions and 0 deletions

View 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}")

View 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));