From e830892057b9a6c7f5dc81e357de3c799e040727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 16 Jul 2018 11:06:15 +0200 Subject: [PATCH] CMake: embarrassing typo prevented ObjImporter from working in subprojects. I am on a roll today! --- doc/changelog.dox | 3 +++ src/MagnumPlugins/ObjImporter/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index 6a6333bce..6abb0d01b 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -128,6 +128,9 @@ See also: using a static build of SDL2 on Linux - `FindSDL2.cmake` is now able to properly find a debug build of SDL, which enables Vcpkg to properly copy all dependency DLLs on Windows +- @ref Magnum::ObjImporter "ObjImporter" didn't work with CMake subprojects + due to an embarrassing typo (see + [mosra/magnum#259](https://github.com/mosra/magnum/issues/259)) @subsection changelog-latest-bugfixes Bug fixes diff --git a/src/MagnumPlugins/ObjImporter/CMakeLists.txt b/src/MagnumPlugins/ObjImporter/CMakeLists.txt index f9b51fbb4..6e92c0d31 100644 --- a/src/MagnumPlugins/ObjImporter/CMakeLists.txt +++ b/src/MagnumPlugins/ObjImporter/CMakeLists.txt @@ -60,4 +60,4 @@ if(BUILD_TESTS) endif() # Magnum ObjImporter library for superprojects -add_library(Magnum:::ObjImporter ALIAS ObjImporter) +add_library(Magnum::ObjImporter ALIAS ObjImporter)