2 LIBC_TESTS_CAN_USE_MPFR
3 ${CMAKE_CURRENT_BINARY_DIR}
5 ${CMAKE_CURRENT_SOURCE_DIR}/check_mpfr.cpp
10 if(LIBC_TESTS_CAN_USE_MPFR)
11 add_library(libcMPFRWrapper
15 add_dependencies(libcMPFRWrapper libc.utils.CPP.standalone_cpp libc.utils.FPUtil.fputil LibcUnitTest LLVMSupport)
16 target_link_libraries(libcMPFRWrapper -lmpfr -lgmp LibcUnitTest LLVMSupport)
18 message(WARNING "Math tests using MPFR will be skipped.")