Commit 57199538 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use target_include_directories directly

parent a81866de
Pipeline #68569 passed with stage
in 16 minutes and 6 seconds
include_directories(${libksieve_SOURCE_DIR}
${libksieve_SOURCE_DIR}/src/ksieveui/scriptsparsing
)
set(autocreatescripts_gui_SRCS autocreatescripts_gui.cpp ../../tests/capability.cpp)
add_executable(autocreatescripts_gui ${autocreatescripts_gui_SRCS})
add_executable(autocreatescripts_gui autocreatescripts_gui.cpp ../../tests/capability.cpp)
target_include_directories(autocreatescripts_gui PRIVATE ${libksieve_SOURCE_DIR}/src/ksieveui/scriptsparsing)
target_link_libraries(autocreatescripts_gui
KF5::KSieveUi
KF5::PimCommon
KF5::I18n
)
set(parsingscript_gui_SRCS parsingscript_gui.cpp ../../tests/capability.cpp)
add_executable(parsingscript_gui ${parsingscript_gui_SRCS})
####
add_executable(parsingscript_gui parsingscript_gui.cpp ../../tests/capability.cpp)
target_include_directories(parsingscript_gui PRIVATE ${libksieve_SOURCE_DIR}/src/ksieveui/scriptsparsing)
target_link_libraries(parsingscript_gui
KF5::KIOCore
KF5::KSieveUi
......
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