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>2017-04-12 14:07:35 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-04-12 14:07:35 +0300
commit52e8fedbd57c3ba6d8587d2d48d13799dacc9b75 (patch)
tree9500822d8ab450cd6b5a8438521f6e0d920bd638 /CMakeLists.txt
parenta1ed9cb9af4b6ab50010d1fad35ffd36ac31fb33 (diff)
Finally fully compiling on Linux with GCC 6
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13385665..e3c72713 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,6 +63,10 @@ if(NOT MSVC OR CMAKE_VERSION VERSION_GREATER 3.59)
endif()
# Set the library dependencies this library has
all_link_libraries(PUBLIC boost-lite_hl outcome_hl kerneltest_hl)
+# Set the system dependencies this library has
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ all_link_libraries(PUBLIC stdc++fs rt)
+endif()
# Set any macros this library requires
if(WIN32)
all_compile_definitions(PRIVATE _WIN32_WINNT=0x600) ## Target WinVista