mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
OpenWatcom: Fix Windows3x DLL linking
Fix DLL creation for 16-bit Windows.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user