cxx: don't set stdc++fs globally
Linking to stdc++fs in the wrong order can produce an ICE under GCC. Linking globally will place stdc++fs at the front of the library list (which is the trigger for the ICE). We rely on the clients linking manually where required.
This commit is contained in:
parent
fc58c76599
commit
6b7a06ddb7
@ -61,7 +61,7 @@ if (NOT DEFINED __nc_cxx_stdcxxfs)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
link_libraries (${__nc_cxx_stdcxxfs})
|
||||
set(NC_CXX_STDCXXFS ${__nc_cxx_stdcxxfs})
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user