Fix linkage (#6388)
* Fix linkage when all importers aren't part of the build.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user