cmake: Only set default flags if they have been detected
authorAndreas Schneider <asn@samba.org>
Wed, 7 Nov 2018 08:25:54 +0000 (09:25 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 7 Nov 2018 14:29:44 +0000 (15:29 +0100)
commit51fcd0af8a7017aea779b8516d7520df20bec454
tree846ab8fc25b8694760db182c5426a68997f24f4e
parentd9a6ecb148ae6fe485e8b7416cd5b8265e22804f
cmake: Only set default flags if they have been detected

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
CompilerChecks.cmake