Further Windows Cmake tweaks.
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user