diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 <filesystem> int main() { |