diff options
author | João Valverde <j@v6e.pt> | 2021-09-22 14:48:06 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-09-22 16:43:09 +0100 |
commit | 9f9afc0e8605b8db03136a6b53905b35be711119 (patch) | |
tree | a24643d0b873713b5c6cb5940a806a60b879657f /extcap | |
parent | 6921f01250c8722fb925943f41f4647a1cbd02f1 (diff) |
CMake: Remove an unnecessary version check
MINGW implies WIN32 which implies CMake >= 3.13.
Follow-up to 1dad8190b1ec4ab730de428437f2f6bbbf7ce345.
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extcap/CMakeLists.txt b/extcap/CMakeLists.txt index faead7973c..bfac5c28ac 100644 --- a/extcap/CMakeLists.txt +++ b/extcap/CMakeLists.txt @@ -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() |