[ox/fs] Remove explicit linking of C++ standard file system library
This commit is contained in:
parent
19422ced3e
commit
d2ec3b8350
11
deps/ox/src/ox/fs/CMakeLists.txt
vendored
11
deps/ox/src/ox/fs/CMakeLists.txt
vendored
@ -10,11 +10,12 @@ add_library(
|
||||
)
|
||||
|
||||
if(NOT OX_BARE_METAL)
|
||||
target_link_libraries(
|
||||
OxFS PUBLIC
|
||||
$<$<CXX_COMPILER_ID:Clang>:c++fs>
|
||||
$<$<CXX_COMPILER_ID:GNU>:stdc++fs>
|
||||
)
|
||||
if(NOT APPLE)
|
||||
target_link_libraries(
|
||||
OxFS PUBLIC
|
||||
stdc++fs
|
||||
)
|
||||
endif()
|
||||
set_property(
|
||||
TARGET
|
||||
OxFS
|
||||
|
Loading…
x
Reference in New Issue
Block a user