From c83851c52ee5352ceab27ae6ef71834844f95760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 12 Sep 2013 21:28:22 +0200 Subject: [PATCH] Always install Test/AbstractOpenGLTester.h. It's counterintuitive when you have to enable `WITH_GL_TESTS` just to install the header, moreover the dependent projects have no easy way to detect the header presence, so they just fail on preprocessor error. --- src/Test/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Test/CMakeLists.txt b/src/Test/CMakeLists.txt index 89f08d701..16803fc05 100644 --- a/src/Test/CMakeLists.txt +++ b/src/Test/CMakeLists.txt @@ -42,6 +42,4 @@ endif() set_target_properties(ResourceManagerTest PROPERTIES COMPILE_FLAGS -DCORRADE_GRACEFUL_ASSERT) # Install bootstrap header for GL tests to be used in dependent projects -if(BUILD_GL_TESTS) - install(FILES AbstractOpenGLTester.h DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/Test) -endif() +install(FILES AbstractOpenGLTester.h DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/Test)