Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com <spamtrap@nedprod.com>2018-01-31 00:31:33 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com <spamtrap@nedprod.com>2018-01-31 00:31:33 +0300
commita5a6d3c224b276c76a9c9c56edeae2794922c198 (patch)
tree857239e83b9b2a143825b8bb2e88c83c252498cc /CMakeLists.txt
parent269639c6d63a0f85893dd9c8f770a446d704f52e (diff)
In theory, OS X now works. You'll need LLVM clang though, XCode 9.2 is still missing <filesystem>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37a29431..4b9e75a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,10 +82,12 @@ endif()
all_link_libraries(PUBLIC quickcpplib::hl outcome::hl Threads::Threads)
# Set the system dependencies this library has
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
- all_link_libraries(PUBLIC stdc++fs rt)
+ find_library(libstdcxx_stdcxxfs stdc++fs)
+ all_link_libraries(PUBLIC ${libstdcxx_stdcxxfs} rt)
endif()
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE)
- all_link_libraries(PUBLIC c++experimental)
+ find_library(libcxx_cxxexperimental c++experimental)
+ all_link_libraries(PUBLIC ${libcxx_cxxexperimental})
endif()
# Set any macros this library requires
if(WIN32)