From 7eb31caa2238726aa0993f795f68d67283a29ecc Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 15 Oct 2018 17:16:26 +1100 Subject: [PATCH] cxx: add libcxx-7.0.0 library for std::filesystem --- nc_cxx.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_cxx.cmake b/nc_cxx.cmake index 6d09fbf..754a0eb 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -41,7 +41,7 @@ append_compile_flag ("-stdlib=libc++") # something like /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so won't get # discovered. if (NOT DEFINED __nc_cxx_stdcxxfs) - foreach(lib "" "c++experimental" "stdc++fs") + foreach(lib "" "c++fs" "c++experimental" "stdc++fs") if (NOT __nc_cxx_stdcxxfs) try_compile( __nc_cxx_stdcxxfs ${CMAKE_CURRENT_BINARY_DIR}