summaryrefslogtreecommitdiff
path: root/src/tools/iostool
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-01-28 08:59:14 +0100
committerEike Ziller <eike.ziller@qt.io>2022-02-02 08:55:31 +0000
commit1221552377a5fa63d2f5f4364397ebbcec7a27cf (patch)
tree8e8aa9b9c7f4952b1ed7634cb1e4e953d16d204f /src/tools/iostool
parent275dcc8f8aae242c2260454543cbaa51508dae0c (diff)
downloadqt-creator-1221552377a5fa63d2f5f4364397ebbcec7a27cf.tar.gz
Require CMake 3.16 and remove workarounds
CMake 3.16 is available on the major Linux distributions nowadays, so we can get rid of some workarounds. Change-Id: I32500375748f33c3e40fbd7a08824d823f817a8f Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/tools/iostool')
-rw-r--r--src/tools/iostool/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/iostool/CMakeLists.txt b/src/tools/iostool/CMakeLists.txt
index 230f5b91f4..e02bf7463d 100644
--- a/src/tools/iostool/CMakeLists.txt
+++ b/src/tools/iostool/CMakeLists.txt
@@ -21,9 +21,5 @@ add_qtc_executable(iostool
)
if (TARGET iostool)
- if (CMAKE_VERSION VERSION_LESS 3.13)
- target_link_libraries(iostool PRIVATE "-Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/Info.plist")
- else()
- target_link_options(iostool PRIVATE "-Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/Info.plist")
- endif()
+ target_link_options(iostool PRIVATE "-Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/Info.plist")
endif()