forked from osmocom/wireshark
CMake: Remove an unnecessary version check
MINGW implies WIN32 which implies CMake >= 3.13.
Follow-up to 1dad8190b1
.
This commit is contained in:
parent
6921f01250
commit
9f9afc0e86
|
@ -2587,7 +2587,7 @@ endmacro()
|
|||
|
||||
macro(executable_link_mingw_unicode _target)
|
||||
# target_link_options() requires CMake >= 3.13
|
||||
if (MINGW AND CMAKE_VERSION VERSION_GREATER "3.12.99")
|
||||
if (MINGW)
|
||||
target_link_options(${_target} PRIVATE "-municode")
|
||||
endif()
|
||||
endmacro()
|
||||
|
|
|
@ -74,9 +74,10 @@ macro(set_extcap_executable_properties _executable)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (MINGW AND CMAKE_VERSION VERSION_GREATER "3.12.99")
|
||||
if (MINGW)
|
||||
set_target_properties(${_executable} PROPERTIES
|
||||
LINK_OPTIONS -municode)
|
||||
LINK_OPTIONS -municode
|
||||
)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
|
Loading…
Reference in New Issue