summarylogtreecommitdiffstats
path: root/0002-bimg-specify-visibility-of-linked-libs.patch
diff options
context:
space:
mode:
authorSandy Carter2021-01-30 22:21:02 -0500
committerSandy Carter2021-01-30 22:38:32 -0500
commit37c473ca9d30ba9e7d463a58365bb65ee416b2ee (patch)
tree85cfea0a6cbeef96b16a1e271179b552c25d5a96 /0002-bimg-specify-visibility-of-linked-libs.patch
parent81f63187a78dcd5b975050a9a4effb18c0219e1e (diff)
downloadaur-37c473ca9d30ba9e7d463a58365bb65ee416b2ee.tar.gz
convert to cmake package using bgfx.cmake
Diffstat (limited to '0002-bimg-specify-visibility-of-linked-libs.patch')
-rw-r--r--0002-bimg-specify-visibility-of-linked-libs.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0002-bimg-specify-visibility-of-linked-libs.patch b/0002-bimg-specify-visibility-of-linked-libs.patch
new file mode 100644
index 000000000000..ea0a32aabf11
--- /dev/null
+++ b/0002-bimg-specify-visibility-of-linked-libs.patch
@@ -0,0 +1,26 @@
+From 3935d459cc299e172e28e70d5ee8eb2d798ecbc0 Mon Sep 17 00:00:00 2001
+From: Sandy Carter <bwrsandman@gmail.com>
+Date: Sat, 30 Jan 2021 21:18:07 -0500
+Subject: [PATCH 2/4] bimg: specify visibility of linked libs
+
+---
+ cmake/bimg.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/bimg.cmake b/cmake/bimg.cmake
+index 56a047e..f403771 100644
+--- a/cmake/bimg.cmake
++++ b/cmake/bimg.cmake
+@@ -38,7 +38,7 @@ target_include_directories( bimg
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
+
+ # bimg dependencies
+-target_link_libraries( bimg bx astc-codec astc edtaa3 etc1 etc2 iqa squish nvtt pvrtc )
++target_link_libraries( bimg PUBLIC bx PRIVATE astc-codec astc edtaa3 etc1 etc2 iqa squish nvtt pvrtc )
+
+ # Put in a "bgfx" folder in Visual Studio
+ set_target_properties( bimg PROPERTIES FOLDER "bgfx" )
+\ No newline at end of file
+--
+2.30.0
+