From cbf5eca98457f82637e0433a5a7248f3dfbfbb86 Mon Sep 17 00:00:00 2001 From: Janis Born <janisborn@gmail.com> Date: Tue, 6 Jun 2023 20:07:35 +0200 Subject: [PATCH] Require clean-core target and link glow against it --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03ea6f6..d7d7d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,6 +209,12 @@ if(TARGET glm) target_compile_definitions(glow PUBLIC GLOW_HAS_GLM) endif() +# clean-core +if (NOT TARGET clean-core) + message(FATAL_ERROR "[glow] requires clean-core") +endif() +target_link_libraries(glow PUBLIC clean-core) + # typed geometry if(TARGET typed-geometry) target_link_libraries(glow PUBLIC typed-geometry) -- GitLab