mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
524 B
13 lines
524 B
corrade_add_plugin(TGAImporter ${MAGNUM_PLUGINS_IMPORTER_INSTALL_DIR} TGAImporter.conf TGAImporter.cpp) |
|
target_link_libraries(TGAImporter ${MAGNUM_LIBRARY}) |
|
|
|
if(BUILD_TESTS) |
|
add_library(TGAImporterTestLib TGAImporter.cpp) |
|
target_link_libraries(TGAImporterTestLib ${MAGNUM_LIBRARY} ${CORRADE_UTILITY_LIBRARY} ${CORRADE_PLUGINMANAGER_LIBRARY}) |
|
enable_testing() |
|
add_subdirectory(Test) |
|
endif() |
|
|
|
if(WIN32) |
|
target_link_libraries(TGAImporter ${CORRADE_UTILITY_LIBRARY} ${CORRADE_PLUGINMANAGER_LIBRARY}) |
|
endif()
|
|
|