vcpkg/ports/zimpl/libm.diff

14 lines
301 B
Diff
Raw Normal View History

diff --git a/zimpl/CMakeLists.txt b/zimpl/CMakeLists.txt
index 7cf9d85..07fa187 100644
--- a/zimpl/CMakeLists.txt
+++ b/zimpl/CMakeLists.txt
@@ -151,6 +151,8 @@ include(CheckSymbolExists)
find_library(libm m)
if(NOT libm)
set(libm "")
+else()
+ set(libm m)
endif()
set(libs ${libs} ${libm})