aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2021-10-06 15:02:10 +0200
committerTim Jenssen <tim.jenssen@qt.io>2021-10-07 11:35:54 +0200
commite7ad8ae3bd55c20e067d34c5f31254344f9000de (patch)
treef93a5e3731cf09564d11a4931c91191b44e8cc7c /src/qmldom
parent123aa932cabae31cb78c56d195e1859b202de3aa (diff)
qmldom_standalone: fix wrong definitions
amends e5e49e3ff74b75c5e0f7ee437eb86f06a092b0d6 Change-Id: Ib40ed93e38415bd0ba5da260d4c2c6033efbd2b2 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/qmldom')
-rw-r--r--src/qmldom/standalone/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qmldom/standalone/CMakeLists.txt b/src/qmldom/standalone/CMakeLists.txt
index 9ed082f178..f54ed9d1f0 100644
--- a/src/qmldom/standalone/CMakeLists.txt
+++ b/src/qmldom/standalone/CMakeLists.txt
@@ -58,8 +58,7 @@ add_library(qmldomlib
../qqmldomtypesreader.cpp ../qqmldomtypesreader_p.h
)
-target_compile_definitions(qmldomlib PUBLIC QMLDOM_STANDALONE QMLDOM_DYNAMIC)
-target_compile_definitions(qmldomlib PRIVATE QMLDOM_LIBRARY)
+target_compile_definitions(qmldomlib PUBLIC QMLDOM_STANDALONE)
target_include_directories(qmldomlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../..)
target_link_libraries(qmldomlib