We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed761b commit b6f02e8Copy full SHA for b6f02e8
cmake/compilers.cmake
@@ -36,7 +36,7 @@ if(LINUX AND CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM|NVHPC")
36
endif()
37
38
39
-if(NOT MSVC AND NOT DEFINED ffilesystem_stdcpp_version)
+if(NOT MSVC AND NOT CMAKE_CROSSCOMPILING AND NOT DEFINED ffilesystem_stdcpp_version)
40
41
message(CHECK_START "Checking C++ standard library version")
42
# Intel, IntelLLVM and NVHPC on Linux use GNU libstdc++, so we need to extract the libstdc++ version
0 commit comments