summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-12 15:10:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-12 17:47:30 +0100
commite34a958b5e10690e18461e7d7d70a0fe83ac28ba (patch)
tree2f541f8c737debd7e221f731f1de81e9ee7d04c6 /loader
parentd481edb3619e251285c238c05f47a121ecd96df7 (diff)
a
Diffstat (limited to 'loader')
-rw-r--r--loader/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 9c0b6ee7..4bba63dc 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -8,6 +8,12 @@ target_link_libraries(
Magnum::Magnum
Magnum::Trade
)
+if(WIN32 OR MAGNUM_BUILD_PLUGINS_STATIC)
+ target_link_libraries(${self} PUBLIC
+ MagnumPlugins::StbImageImporter
+ Magnum::TgaImporter
+ )
+endif()
if(WIN32)
target_link_libraries(${self} PUBLIC ntdll)
endif()