mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[libc] Link mpfr and gmp wrapper to the libcMPFRWrapper.
This will fix building the wrapper shared library when BUILD_SHARED_LIBS is ON. Reviewers: PaulkaToast Differential Revision: https://reviews.llvm.org/D78737
This commit is contained in:
parent
d6c95ae6ff
commit
1e2772c0a3
@ -12,6 +12,7 @@ if(LIBC_TESTS_CAN_USE_MPFR)
|
||||
MPFRUtils.cpp
|
||||
MPFRUtils.h
|
||||
)
|
||||
target_link_libraries(libcMPFRWrapper -lmpfr -lgmp)
|
||||
else()
|
||||
message(WARNING "Math tests using MPFR will be skipped.")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user