From d2ec3b83508313f7dfcf59caf5b7671d1b36e388 Mon Sep 17 00:00:00 2001 From: Gary Talent <gtalent2@gmail.com> Date: Tue, 7 Apr 2020 22:04:23 -0500 Subject: [PATCH] [ox/fs] Remove explicit linking of C++ standard file system library --- deps/ox/src/ox/fs/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/deps/ox/src/ox/fs/CMakeLists.txt b/deps/ox/src/ox/fs/CMakeLists.txt index 9bed1984..9c912535 100644 --- a/deps/ox/src/ox/fs/CMakeLists.txt +++ b/deps/ox/src/ox/fs/CMakeLists.txt @@ -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