Skip to content

Commit 55b17a8

Browse files
committed
Do not rely on cmake_common to link Version.
1 parent 6518a21 commit 55b17a8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ target_compile_definitions(uibase PRIVATE -DUIBASE_EXPORT SPDLOG_USE_STD_FORMAT)
2929

3030
target_link_libraries(uibase
3131
PUBLIC Qt6::Widgets Qt6::Network Qt6::QuickWidgets
32-
PRIVATE Boost::headers Boost::thread spdlog::spdlog_header_only Qt6::Qml Qt6::Quick)
32+
PRIVATE
33+
Boost::headers Boost::thread spdlog::spdlog_header_only
34+
Qt6::Qml Qt6::Quick Version)
3335

3436
# installation
3537
install(TARGETS uibase EXPORT uibaseTargets FILE_SET HEADERS)

0 commit comments

Comments
 (0)