From d6993e02c47d2d3847fcb7d16e289a89ae887e0b Mon Sep 17 00:00:00 2001 From: mio Date: Tue, 5 Oct 2021 12:47:27 +0200 Subject: [PATCH] Link to libm to make sure our build works on older Linux --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c90b72e..c6831d44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -388,6 +388,9 @@ else() -I${CMAKE_BINARY_DIR}/x86_64-softmmu -I${CMAKE_CURRENT_SOURCE_DIR}/qemu/target/i386 ) + + # Log and pow + target_link_libraries(x86_64-softmmu m) endif() endif()