From 4e3bf57026c31b37d36e07f299cbca4654e8277a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 25 Mar 2024 10:19:18 +0000 Subject: [PATCH] CMake: Fix NVIDIA link error --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dfe60c80..e535132f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -74,6 +74,7 @@ set(STDFSLIB "") if( (NOT APPLE) AND (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR + CMAKE_CXX_COMPILER_ID STREQUAL "NVHPC" OR CMAKE_CXX_COMPILER_ID STREQUAL "Intel")) set(STDFSLIB "stdc++fs") endif()