[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)
|
if(NOT OX_BARE_METAL)
|
||||||
target_link_libraries(
|
if(NOT APPLE)
|
||||||
OxFS PUBLIC
|
target_link_libraries(
|
||||||
$<$<CXX_COMPILER_ID:Clang>:c++fs>
|
OxFS PUBLIC
|
||||||
$<$<CXX_COMPILER_ID:GNU>:stdc++fs>
|
stdc++fs
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
set_property(
|
set_property(
|
||||||
TARGET
|
TARGET
|
||||||
OxFS
|
OxFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user