From 1062d642952578301a732bf58cde189168fb11c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 Mar 2019 12:20:21 +0100 Subject: [PATCH] CMake: use explicit PUBLIC/PRIVATE for target_link_libraries(). --- src/Magnum/GL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/GL/CMakeLists.txt b/src/Magnum/GL/CMakeLists.txt index b0d0da646..33d851ca5 100644 --- a/src/Magnum/GL/CMakeLists.txt +++ b/src/Magnum/GL/CMakeLists.txt @@ -260,7 +260,7 @@ if(WITH_OPENGLTESTER) # OPENGLTESTER_APPLICATION defined in the root CMakeLists, because it also # enables the application library dependencies - target_link_libraries(MagnumOpenGLTester Magnum Corrade::TestSuite ${OPENGLTESTER_APPLICATION}) + target_link_libraries(MagnumOpenGLTester PUBLIC Magnum Corrade::TestSuite ${OPENGLTESTER_APPLICATION}) install(FILES ${MagnumOpenGLTester_HEADERS} DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/GL) install(TARGETS MagnumOpenGLTester