vcpkg/ports/zimpl/libm.diff
Kai Pastor 67e861818a
[zimpl] New port (#35053)
* [zimpl] New port

* Fix msvc

* MSVC needs pcre2

* Fix MSVC runtime

* Fix msvc and mingw
2023-11-15 16:56:18 -08:00

14 lines
301 B
Diff

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})