cmake: Make the tests for finding Filesystem with more serious functions

Otherwise it is linked agains lc++ on FreeBSD,a dn that will satisfy both
tested libraries.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Willem Jan Withagen 2019-02-14 13:16:53 +01:00
parent 661d108064
commit 1d58db8c9b

View File

@ -9,5 +9,6 @@ namespace fs = std::experimental::filesystem;
#endif
int main() {
[[maybe_unused]] fs::path path("/");
fs::create_directory("sandbox");
fs::remove_all("sandbox");
}