From 49fefca596dcada8395c3b727372f1145180e404 Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Sat, 2 Sep 2023 13:44:35 -0400 Subject: [PATCH] Fix DOS compilation (Attempt 2) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bbac7cf..ecff099 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") endif() # neither does dos idk i'm trying random stuff -if (DJGPP_WATT32) { +if (DJGPP_WATT32) SET(UMSKT_USE_SHARED_OPENSSL ON) endif() @@ -85,7 +85,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") MESSAGE(STATUS "[UMSKT] macOS has no static library - Shared library forced on") endif() -if (DJGPP_WATT32) { +if (DJGPP_WATT32) SET(BUILD_SHARED_LIBS ON) MESSAGE(STATUS "[UMSKT] DOS has no static library - Shared library forced on") endif()