OpenWatcom: Fix Windows3x DLL linking

Fix DLL creation for 16-bit Windows.
This commit is contained in:
Jiri Malak authored and Brad King committed 2024-03-25 14:49:50 -04:00
1 parent 57f50abdc4
commit 71d3aa1499
1 file changed
+2 -2
+2 -2
View File
@@ -8,8 +8,8 @@ set(CMAKE_BUILD_TYPE_INIT Debug)
if(DEFINED CMAKE_SYSTEM_PROCESSOR AND CMAKE_SYSTEM_PROCESSOR STREQUAL "I86")
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system windows")
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system windows")
string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system windows")
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system windows_dll")
string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " system windows_dll")
else()
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " system win386")
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " system win386")