mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
OpenWatcom: Fix Windows3x DLL linking
Fix DLL creation for 16-bit Windows.
This commit is contained in:
1 parent
57f50abdc4
commit
71d3aa1499
1 file changed
+2
-2
@@ -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