Commit 160d935b authored by Nicolás Alvarez's avatar Nicolás Alvarez
Browse files

Reintroduce kdewin library in a few places that still use POSIXisms.

We should port away from kdewin as soon as possible, but for now I just
wanted to get the code to build...
parent c1907a95
......@@ -59,7 +59,9 @@ target_link_libraries(kdevcpplanguagesupport
KF5::IconThemes
KF5::TextEditor
)
if(WIN32)
target_include_directories(kdevcpplanguagesupport PUBLIC ${KDEWIN_INCLUDES})
endif()
install(TARGETS kdevcpplanguagesupport DESTINATION ${PLUGIN_INSTALL_DIR}/kdevplatform/${KDEV_PLUGIN_VERSION})
......
......@@ -10,6 +10,10 @@ target_link_libraries(kdevmakefileresolver
Qt5::Core Qt5::Gui KDev::Language
KDev::Tests
)
if(WIN32)
target_include_directories(kdevmakefileresolver PUBLIC ${KDEWIN_INCLUDES})
target_link_libraries(kdevmakefileresolver ${KDEWIN_LIBRARIES})
endif()
set_target_properties(kdevmakefileresolver PROPERTIES POSITION_INDEPENDENT_CODE ON)
option(BUILD_kdev_makefileresolver "Build the makefile resolver debugging tool" OFF)
......
......@@ -10,3 +10,7 @@ ecm_add_test(${test_custommake_SRCS}
KDev::Tests
KDev::Project
)
if(WIN32)
target_include_directories(test_custommake PUBLIC ${KDEWIN_INCLUDES})
target_link_libraries(test_custommake ${KDEWIN_LIBRARIES})
endif()
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