summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-04-10 10:36:57 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-04-11 15:06:52 +0000
commitdac32e95d632cc1d52304160a29c1ad6595baa37 (patch)
tree580d631d78da00945069cb61a8e7ca2d30607791 /cmake
parent92b0d7b9110dde7db56f10d7c34a21876fb27fe3 (diff)
CMake: Update src/corelib
Change-Id: I0321883f762460b146666bfbad0d8b27c3fdeadd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindAtomic.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindAtomic.cmake b/cmake/FindAtomic.cmake
index 6676378686..b4580067ca 100644
--- a/cmake/FindAtomic.cmake
+++ b/cmake/FindAtomic.cmake
@@ -29,7 +29,7 @@ if(NOT HAVE_STDATOMIC)
set(CMAKE_REQUIRE_LIBRARIES "${_req_libraries}")
endif()
-add_library(Atomic INTERFACE)
+add_library(Atomic INTERFACE IMPORTED)
if(HAVE_STDATOMIC_WITH_LIB)
target_link_libraries(Atomic INTERFACE atomic)
endif()