Commit 64b91d5c authored by patrick pereira's avatar patrick pereira 🏃

QtCore is common between MINGW and MSVC

Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 9f3cfcff
......@@ -14,11 +14,11 @@ set(kdbgwin_SRCS
${CMAKE_CURRENT_BINARY_DIR}/../drkonqi_debug.cpp
)
set(COMMON_LIBS dbghelp psapi shlwapi)
set(COMMON_LIBS dbghelp psapi shlwapi Qt5::Core)
if ( MINGW )
add_executable(kdbgwin ${kdbgwin_SRCS} mingw_generator.h mingw_generator.cpp)
target_link_libraries(kdbgwin PRIVATE ${COMMON_LIBS} bfd iberty intl ZLIB::ZLIB Qt5::Core)
target_link_libraries(kdbgwin PRIVATE ${COMMON_LIBS} bfd iberty intl ZLIB::ZLIB)
endif ()
if ( MSVC OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
add_executable(kdbgwin ${kdbgwin_SRCS} msvc_generator.h msvc_generator.cpp)
......
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