vcpkg/ports/simage/link-math-library.patch
Markus Rickert 2fc37d513a
[Coin3D] Add new ports for simage, Coin, and SoQt (#9880)
* [simage] Add new port

* [coin] Add new port

* [soqt] Add new port
2020-05-08 10:35:22 -07:00

15 lines
398 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a978dd..e7abd57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -454,6 +454,9 @@ endif()
if(PNG_FOUND)
target_include_directories(simage PRIVATE ${PNG_INCLUDE_DIR})
target_link_libraries(simage PRIVATE ${PNG_LIBRARIES})
+ if(UNIX)
+ target_link_libraries(simage PRIVATE m)
+ endif()
endif()
if(SIMAGE_QIMAGE_SUPPORT)