projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc7c86
)
Fix BUILD_TESTING on non Linux unices
author
Guido Falsi
<mad@madpilot.net>
Fri, 8 Oct 2021 21:52:56 +0000
(23:52 +0200)
committer
Guido Falsi
<mad@madpilot.net>
Tue, 12 Oct 2021 14:32:24 +0000
(16:32 +0200)
vfs_xattr is build only if LINUX is defined, but when building tests it is depended upon when UNIX is defined.
This patch requires it only when LINUX is defined.
Signed-off-by: Guido Falsi <mad@madpilot.net>
test/nextcloud_add_test.cmake
patch
|
blob
|
history
diff --git
a/test/nextcloud_add_test.cmake
b/test/nextcloud_add_test.cmake
index 13a0b984a4303da88ab29bb7d2271d485a00de92..98f3ef7673cdd740d96dd2b42528d360ae9a5890 100644
(file)
--- a/
test/nextcloud_add_test.cmake
+++ b/
test/nextcloud_add_test.cmake
@@
-23,7
+23,7
@@
macro(nextcloud_add_test test_class)
)
endif()
- if (
UNI
X)
+ if (
LINU
X)
target_link_libraries(${OWNCLOUD_TEST_CLASS}Test PRIVATE
nextcloudsync_vfs_xattr
)