cxx: quote the filesystem libraries
This commit is contained in:
parent
6576747031
commit
b3d2938410
@ -37,7 +37,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++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}
|
||||||
|
Loading…
Reference in New Issue
Block a user