Commit 03a6b6ed authored by Ilya Bizyaev's avatar Ilya Bizyaev

Fix QXmpp lib directory detection

link_directory only affects targets that were declared below it
parent a46265e3
Pipeline #229 passed with stage
in 2 minutes and 14 seconds
......@@ -111,6 +111,8 @@ elseif(WIN32)
message(STATUS ${KAIDAN_ICNS})
endif()
link_directories(${QXmpp_LIBDIR})
add_executable(${PROJECT_NAME}
MACOSX_BUNDLE
WIN32
......@@ -135,8 +137,6 @@ target_link_libraries(${PROJECT_NAME}
qxmpp
)
link_directories(${QXmpp_LIBDIR})
target_include_directories(${PROJECT_NAME} PUBLIC
${QXmpp_INCLUDE_DIRS}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment