git.samba.org
/
resolv_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ef0d0
)
cmake: Use unset() instead of setting an empty string
author
Andreas Schneider
<asn@samba.org>
Thu, 17 Oct 2019 13:25:05 +0000
(15:25 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Sun, 20 Oct 2019 12:59:54 +0000
(14:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
ConfigureChecks.cmake
patch
|
blob
|
history
diff --git
a/ConfigureChecks.cmake
b/ConfigureChecks.cmake
index 687da7f9f4acbcab55951022e7c6cd12946cb1cd..f3e64d48e3ceaa38e4f677070bb079e1597dedd7 100644
(file)
--- a/
ConfigureChecks.cmake
+++ b/
ConfigureChecks.cmake
@@
-42,7
+42,7
@@
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)
"void __attribute__((visibility(\"default\"))) test() {}
int main(void){ return 0; }
" WITH_VISIBILITY_HIDDEN)
-
set(CMAKE_REQUIRED_FLAGS ""
)
+
unset(CMAKE_REQUIRED_FLAGS
)
endif (NOT GNUCC_VERSION EQUAL 34)
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)