From e34c06ffc90fc20258fcf9def7b820fd71a36055 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 19 Jun 2018 09:30:37 +0000 Subject: Windows: Disable dynamic linking/loading of winsock dll. This *preliminary* commit disables dynamic linking/loading of winsock (ws2_32.dll) and links it statically to fluid and all FLTK test programs. This is done by conditional code (#if 0) that disables the old code and #defines some macros. This *must* be removed and replaced with the original socket interface once the code has proved to work as expected. Note: example programs in the examples/ folder are not yet modified. Todo: check and fix examples/Makefile if necessary. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 38fed7bc9..08eb9194f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -504,7 +504,7 @@ if (USE_SDL) endif(USE_SDL) if (WIN32) - list (APPEND OPTIONAL_LIBS comctl32) + list (APPEND OPTIONAL_LIBS comctl32 ws2_32) endif (WIN32) if (FLTK_HAVE_CAIRO) -- cgit v1.2.3