Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KTorrent
Commits
dfc063a4
Commit
dfc063a4
authored
May 18, 2021
by
Ömer Fadıl Usta
😊
Browse files
Fix tests with new ecm sytle
parent
f9ec5425
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
dfc063a4
...
...
@@ -17,6 +17,8 @@ set (KF5_MIN_VERSION "5.82")
set
(
LIBKTORRENT_MIN_VERSION
"20.11.70"
)
set
(
Boost_MIN_VERSION
"1.71.0"
)
cmake_policy
(
SET CMP0115 OLD
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
${
CMAKE_MODULE_PATH
}
)
...
...
plugins/ipfilter/tests/CMakeLists.txt
View file @
dfc063a4
set
(
ipblocklisttest_SRCS ipblocklisttest.cpp ../ipblocklist.cpp
)
add_executable
(
ipblocklisttest
${
ipblocklisttest_SRCS
}
)
add_test
(
ipblocklisttest ipblocklisttest
)
ecm_mark_as_test
(
ipblocklisttest
)
target_link_libraries
(
ipblocklisttest Qt5::Core Qt5::Network Qt5::Test ktcore
)
include
(
ECMAddTests
)
ecm_add_test
(
ipblocklisttest.cpp ../ipblocklist.cpp TEST_NAME ipblocklisttest LINK_LIBRARIES ktcore Qt5::Core Qt5::Network KF5::Torrent Qt5::Test
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment