From 8058c2677a55f753dcedd04902d9bac404a0a7df Mon Sep 17 00:00:00 2001 From: qnfm Date: Sun, 17 Sep 2023 17:51:16 +0100 Subject: [PATCH 1/2] Fix OQS_ADDL_SOCKET_LIBS setting for cmake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbabf462..a90caeeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(MSVC) "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT") add_definitions(-DOQS_PROVIDER_NOATOMIC) add_definitions(-D_CRT_SECURE_NO_WARNINGS) - set(OQS_ADDL_SOCKET_LIBS "ws2_32.lib gdi32.lib crypt32.lib") + set(OQS_ADDL_SOCKET_LIBS "ws2_32.lib;gdi32.lib;crypt32.lib") else() add_compile_options(-Wunused-function) set(OQS_ADDL_SOCKET_LIBS "") From 0c5ebe0719cb203123075ee71836160fd7f97bbb Mon Sep 17 00:00:00 2001 From: qnfm Date: Sun, 17 Sep 2023 19:07:06 +0100 Subject: [PATCH 2/2] Turn to normal cmake syntax --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a90caeeb..002a4e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(MSVC) "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT") add_definitions(-DOQS_PROVIDER_NOATOMIC) add_definitions(-D_CRT_SECURE_NO_WARNINGS) - set(OQS_ADDL_SOCKET_LIBS "ws2_32.lib;gdi32.lib;crypt32.lib") + set(OQS_ADDL_SOCKET_LIBS ws2_32.lib gdi32.lib crypt32.lib) else() add_compile_options(-Wunused-function) set(OQS_ADDL_SOCKET_LIBS "")