summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-15 16:42:54 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-17 14:32:44 +0000
commitb59257cc82dfefb82ee2c884e0572a7d3dbdcbcd (patch)
treea2424e8f58ebb6bde84971cae033a0bc6da77494 /examples/corelib/threads
parente1dd0056073934ceb75002b7516ffc277c01355c (diff)
mandelbrot example: Remove explicit linking against libm
It seems not needed anymore with modern toolchains. Change-Id: Ic5386cad4576b10f49fd74212f3514e26cfb0abe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit e751c604dfc6c966b4e56b98b17de09d911d2192) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/corelib/threads')
-rw-r--r--examples/corelib/threads/mandelbrot/CMakeLists.txt6
-rw-r--r--examples/corelib/threads/mandelbrot/mandelbrot.pro2
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/corelib/threads/mandelbrot/CMakeLists.txt b/examples/corelib/threads/mandelbrot/CMakeLists.txt
index c946e35e76..e95dc41897 100644
--- a/examples/corelib/threads/mandelbrot/CMakeLists.txt
+++ b/examples/corelib/threads/mandelbrot/CMakeLists.txt
@@ -32,12 +32,6 @@ target_link_libraries(mandelbrot PUBLIC
Qt::Widgets
)
-if(UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS)
- target_link_libraries(mandelbrot PUBLIC
- m
- )
-endif()
-
install(TARGETS mandelbrot
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/corelib/threads/mandelbrot/mandelbrot.pro b/examples/corelib/threads/mandelbrot/mandelbrot.pro
index 92010fdc1f..7edf01ff30 100644
--- a/examples/corelib/threads/mandelbrot/mandelbrot.pro
+++ b/examples/corelib/threads/mandelbrot/mandelbrot.pro
@@ -6,8 +6,6 @@ SOURCES = main.cpp \
mandelbrotwidget.cpp \
renderthread.cpp
-unix:!mac:!vxworks:!integrity:!haiku:LIBS += -lm
-
# install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/mandelbrot
INSTALLS += target