diff --git a/src/MagnumPlugins/TgaImageConverter/CMakeLists.txt b/src/MagnumPlugins/TgaImageConverter/CMakeLists.txt index c713e74a7..25d96902a 100644 --- a/src/MagnumPlugins/TgaImageConverter/CMakeLists.txt +++ b/src/MagnumPlugins/TgaImageConverter/CMakeLists.txt @@ -64,5 +64,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/configure.h DESTINATION ${MAGNUM_PLUGI if(BUILD_TESTS) add_library(MagnumTgaImageConverterTestLib STATIC $) target_link_libraries(MagnumTgaImageConverterTestLib Magnum) + add_subdirectory(Test) endif() diff --git a/src/MagnumPlugins/TgaImageConverter/Test/CMakeLists.txt b/src/MagnumPlugins/TgaImageConverter/Test/CMakeLists.txt index 3a471c284..ac043ba78 100644 --- a/src/MagnumPlugins/TgaImageConverter/Test/CMakeLists.txt +++ b/src/MagnumPlugins/TgaImageConverter/Test/CMakeLists.txt @@ -30,7 +30,7 @@ include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) corrade_add_test(TgaImageConverterTest TgaImageConverterTest.cpp LIBRARIES MagnumTgaImageConverterTestLib MagnumTgaImporterTestLib) # On Win32 we need to avoid dllimporting TgaImporter and TgaImageConverterTest -# symbols, because it would search for the symbols in some DLL even when they +# symbols, because it would search for the symbols in some DLL even though they # were linked statically. However it apparently doesn't matter that they were # dllexported when building the static library. EH. if(WIN32) diff --git a/src/MagnumPlugins/TgaImporter/CMakeLists.txt b/src/MagnumPlugins/TgaImporter/CMakeLists.txt index 71a7618c3..317c2f826 100644 --- a/src/MagnumPlugins/TgaImporter/CMakeLists.txt +++ b/src/MagnumPlugins/TgaImporter/CMakeLists.txt @@ -65,5 +65,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/configure.h DESTINATION ${MAGNUM_PLUGI if(BUILD_TESTS) add_library(MagnumTgaImporterTestLib STATIC $) target_link_libraries(MagnumTgaImporterTestLib Magnum) + add_subdirectory(Test) endif() diff --git a/src/MagnumPlugins/TgaImporter/Test/CMakeLists.txt b/src/MagnumPlugins/TgaImporter/Test/CMakeLists.txt index 51f20b106..a20229b2a 100644 --- a/src/MagnumPlugins/TgaImporter/Test/CMakeLists.txt +++ b/src/MagnumPlugins/TgaImporter/Test/CMakeLists.txt @@ -30,7 +30,7 @@ include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) corrade_add_test(TgaImporterTest TgaImporterTest.cpp LIBRARIES MagnumTgaImporterTestLib) # On Win32 we need to avoid dllimporting TgaImporter symbols, because it would -# search for the symbols in some DLL even when they were linked statically. +# search for the symbols in some DLL even though they were linked statically. # However it apparently doesn't matter that they were dllexported when building # the static library. EH. if(WIN32)