Fix linkage (#6388)

* Fix linkage when all importers aren't part of the build.
This commit is contained in:
Kim Kulling
2025-11-16 20:05:50 +01:00
committed by GitHub
parent 05a4fb57f1
commit 19108dff6a
19 changed files with 60 additions and 99 deletions
+4 -10
View File
@@ -56,18 +56,12 @@ public:
}
};
TEST_F(utSMDImporter, createTest) {
bool ok(true);
try {
SMDImporter myImporter;
} catch (...) {
ok = false;
}
EXPECT_TRUE(ok);
}
TEST_F(utSMDImporter, importTest) {
#ifndef ASSIMP_BUILD_NO_SMD_IMPORTER
EXPECT_TRUE(importerTest());
#else
EXPECT_FALSE(importerTest());
#endif
}
TEST_F(utSMDImporter, issue_899_Texture_garbage_at_end_of_string_Test) {