Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-07-10 11:23:59 +0300
committerHannah von Reth <vonreth@kde.org>2020-07-14 14:34:20 +0300
commit3dc01c60939ac56ca6e6e96c297752c558fe9dd0 (patch)
treea9c00d7baa7431b9bba75bea1af8d3c595a5e344 /test
parent3e16df4b0cd7f285c88a0ba6d5aef9b81a89becd (diff)
Remove OWNCLOUD_TEST define handling
Since we link the core into the tests the define has no effect.
Diffstat (limited to 'test')
-rw-r--r--test/owncloud_add_test.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/owncloud_add_test.cmake b/test/owncloud_add_test.cmake
index 9e9912446..85fb3ee59 100644
--- a/test/owncloud_add_test.cmake
+++ b/test/owncloud_add_test.cmake
@@ -12,7 +12,7 @@ function(owncloud_add_test test_class)
owncloudCore Qt5::Test
)
- target_compile_definitions(${OWNCLOUD_TEST_CLASS}Test PRIVATE OWNCLOUD_TEST OWNCLOUD_BIN_PATH="${CMAKE_BINARY_DIR}/bin")
+ target_compile_definitions(${OWNCLOUD_TEST_CLASS}Test PRIVATE OWNCLOUD_BIN_PATH="${CMAKE_BINARY_DIR}/bin")
target_include_directories(${OWNCLOUD_TEST_CLASS}Test PRIVATE "${CMAKE_SOURCE_DIR}/test/")
endfunction()
@@ -29,5 +29,5 @@ macro(owncloud_add_benchmark test_class additional_cpp)
${APPLICATION_EXECUTABLE}sync
Qt5::Core Qt5::Test Qt5::Xml Qt5::Network
)
- target_compile_definitions(${OWNCLOUD_TEST_CLASS}Bench PRIVATE OWNCLOUD_TEST OWNCLOUD_BIN_PATH="${CMAKE_BINARY_DIR}/bin")
+ target_compile_definitions(${OWNCLOUD_TEST_CLASS}Bench PRIVATE OWNCLOUD_BIN_PATH="${CMAKE_BINARY_DIR}/bin")
endmacro()