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 74b4ec1 commit eed135fCopy full SHA for eed135f
llvm/lib/Analysis/CMakeLists.txt
@@ -163,6 +163,8 @@ add_llvm_component_library(LLVMAnalysis
163
TargetParser
164
)
165
166
-if(LLVM_HAS_LOGF128)
167
- target_compile_definitions(LLVMAnalysis PRIVATE HAS_LOGF128)
+include(CheckCXXSymbolExists)
+check_cxx_symbol_exists(logf128 math.h HAS_LOGF128)
168
+if(HAS_LOGF128)
169
+ target_compile_definitions(LLVMAnalysis PRIVATE HAS_LOGF128)
170
endif()
0 commit comments