cxx: add libcxx-7.0.0 library for std::filesystem

This commit is contained in:
Danny Robson 2018-10-15 17:16:26 +11:00
parent 16611ec091
commit 7eb31caa22

View File

@ -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 # something like /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/libstdc++.so won't get
# discovered. # discovered.
if (NOT DEFINED __nc_cxx_stdcxxfs) 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) if (NOT __nc_cxx_stdcxxfs)
try_compile( try_compile(
__nc_cxx_stdcxxfs ${CMAKE_CURRENT_BINARY_DIR} __nc_cxx_stdcxxfs ${CMAKE_CURRENT_BINARY_DIR}