diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-12 14:07:35 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-12 14:07:35 +0300 |
commit | 52e8fedbd57c3ba6d8587d2d48d13799dacc9b75 (patch) | |
tree | 9500822d8ab450cd6b5a8438521f6e0d920bd638 /CMakeLists.txt | |
parent | a1ed9cb9af4b6ab50010d1fad35ffd36ac31fb33 (diff) |
Finally fully compiling on Linux with GCC 6
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
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 |