aboutsummaryrefslogtreecommitdiff
path: root/ports/simage/link-math-library.patch
diff options
context:
space:
mode:
authorMarkus Rickert <rickertm@users.noreply.github.com>2020-05-08 19:35:22 +0200
committerGitHub <noreply@github.com>2020-05-08 10:35:22 -0700
commit2fc37d513a59d50f471b895c0f5d2c1f53456a6a (patch)
tree0ebb4de3c8cdb8fcc2b95d43225b67e9aca12754 /ports/simage/link-math-library.patch
parent5db4f98d6e7d7b83285452020e8e147f8f0c8d7c (diff)
downloadvcpkg-2fc37d513a59d50f471b895c0f5d2c1f53456a6a.tar.gz
vcpkg-2fc37d513a59d50f471b895c0f5d2c1f53456a6a.zip
[Coin3D] Add new ports for simage, Coin, and SoQt (#9880)
* [simage] Add new port * [coin] Add new port * [soqt] Add new port
Diffstat (limited to 'ports/simage/link-math-library.patch')
-rw-r--r--ports/simage/link-math-library.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/simage/link-math-library.patch b/ports/simage/link-math-library.patch
new file mode 100644
index 000000000..4ffe98bf1
--- /dev/null
+++ b/ports/simage/link-math-library.patch
@@ -0,0 +1,14 @@
+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)