build: explicitly link to stdc++fs
We note the dependency ourselves rather than use a global link directive so that it comes _after_ us. This prevents undefined references (and an ICE under GCC/LTO)
This commit is contained in:
parent
bce481db0e
commit
a33938e735
@ -32,6 +32,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
###############################################################################
|
||||
add_library(cruft)
|
||||
|
||||
target_link_libraries(cruft ${NC_CXX_STDCXXFS})
|
||||
|
||||
|
||||
# Setup a directory to hold built sources we may need to export to clients.
|
||||
set (PREFIX "cruft/util")
|
||||
|
Loading…
Reference in New Issue
Block a user