mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 20:40:16 +02:00
Fix DOS compilation (Attempt 1)
This commit is contained in:
parent
214d2d38a5
commit
178c9e0689
@ -36,6 +36,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
SET(UMSKT_USE_SHARED_OPENSSL ON)
|
SET(UMSKT_USE_SHARED_OPENSSL ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# neither does dos idk i'm trying random stuff
|
||||||
|
if (DJGPP_WATT32) {
|
||||||
|
SET(UMSKT_USE_SHARED_OPENSSL ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
IF(UMSKT_USE_SHARED_OPENSSL)
|
IF(UMSKT_USE_SHARED_OPENSSL)
|
||||||
SET(OPENSSL_USE_STATIC_LIBS FALSE)
|
SET(OPENSSL_USE_STATIC_LIBS FALSE)
|
||||||
SET(OPENSSL_MSVC_STATIC_RT FALSE)
|
SET(OPENSSL_MSVC_STATIC_RT FALSE)
|
||||||
@ -80,6 +85,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
MESSAGE(STATUS "[UMSKT] macOS has no static library - Shared library forced on")
|
MESSAGE(STATUS "[UMSKT] macOS has no static library - Shared library forced on")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (DJGPP_WATT32) {
|
||||||
|
SET(BUILD_SHARED_LIBS ON)
|
||||||
|
MESSAGE(STATUS "[UMSKT] DOS has no static library - Shared library forced on")
|
||||||
|
endif()
|
||||||
|
|
||||||
# if we're compiling with MSVC, respect the DEBUG compile option
|
# if we're compiling with MSVC, respect the DEBUG compile option
|
||||||
IF(MSVC)
|
IF(MSVC)
|
||||||
SET(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
SET(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||||
|
Loading…
Reference in New Issue
Block a user