From c095cf676a544aac002dcabbfcd1cbc038a9c80b Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Fri, 20 Mar 2020 11:25:48 +0000 Subject: Figured out libc++ support. Added to Travis CI. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index acd2bc85..cd6eeca6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,7 +242,7 @@ int main() { endif() function(check_stl_filesystem_link_flags) indented_message(STATUS "NOTE: Using STL link flags '${ARGN}'") - set(CMAKE_REQUIRED_LINK_OPTIONS ${ARGN}) + set(CMAKE_REQUIRED_LIBRARIES ${ARGN}) check_cxx_source_runs(" #include int main() { -- cgit v1.2.3