Skip to content

Commit

Permalink
Link sharedtypes_qml with shared rather than main executable
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Jul 15, 2024
1 parent e06a398 commit 1ca1efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ endif()
add_subdirectory(ui/qml/Graphia)
target_link_libraries(${PROJECT_NAME} PRIVATE main_qmlplugin controls_qmlplugin loading_qmlplugin plugins_qmlplugin utils_qmlplugin)

target_link_libraries(${PROJECT_NAME} PRIVATE shared sharedtypes_qmlplugin)
target_link_libraries(${PROJECT_NAME} PRIVATE shared)
target_link_libraries(${PROJECT_NAME} PRIVATE thirdparty_static thirdparty)

if(LINK_TYPE STREQUAL STATIC)
Expand Down
2 changes: 1 addition & 1 deletion source/shared/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
target_link_libraries(shared PRIVATE Threads::Threads)

target_link_libraries(shared PRIVATE thirdparty thirdparty_static)
target_link_libraries(shared PRIVATE thirdparty thirdparty_static sharedtypes_qmlplugin)

0 comments on commit 1ca1efc

Please sign in to comment.