mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 07:52:16 +08:00
14 lines
301 B
Diff
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})
|