From 46f2216fa2508b95881d230b32c9eb283da5b696 Mon Sep 17 00:00:00 2001 From: ColinDuquesnoy Date: Sun, 26 Apr 2020 13:49:18 +0200 Subject: [PATCH] Fix linker errors without gold linker Close #420 --- src/lib/infrastructure/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/infrastructure/CMakeLists.txt b/src/lib/infrastructure/CMakeLists.txt index 80ce3953..8dff59df 100644 --- a/src/lib/infrastructure/CMakeLists.txt +++ b/src/lib/infrastructure/CMakeLists.txt @@ -18,4 +18,4 @@ configure_file(src/MellowPlayer/Infrastructure/BuildConfig.cpp.in ${CMAKE_BINARY add_library(${LIB_NAME} STATIC ${SOURCE_FILES} ${HEADER_FILES} ${CMAKE_CURRENT_BINARY_DIR}/resources/infrastructure.qrc ${CMAKE_BINARY_DIR}/BuildConfig.cpp) target_include_directories(${LIB_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) target_include_directories(${LIB_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/src/3rdparty/spdlog-0.16.3/include) -target_link_libraries(${LIB_NAME} Qt5::Core Qt5::Gui Qt5::Concurrent Qt5::Widgets ${PROJECT_NAME}.Domain) +target_link_libraries(${LIB_NAME} Qt5::Core Qt5::Gui Qt5::Concurrent Qt5::Network Qt5::Widgets Qt5::Sql ${PROJECT_NAME}.Domain) -- 2.26.2