From 9383689a2824847bf2a0a5bfac626f5b11f93963 Mon Sep 17 00:00:00 2001 From: Louis Langholtz Date: Sat, 17 Jun 2023 19:49:20 -0600 Subject: [PATCH] Addresses issue #487 See also response by Craig Scott at https://gitlab.kitware.com/cmake/cmake/-/issues/20636 asserting that having COMPONENT after INCLUDES DESTINATION is "malformed". --- PlayRho/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayRho/CMakeLists.txt b/PlayRho/CMakeLists.txt index f5c5569825..ad1e2ac9b2 100644 --- a/PlayRho/CMakeLists.txt +++ b/PlayRho/CMakeLists.txt @@ -141,11 +141,11 @@ if(PLAYRHO_INSTALL) # install libraries install(TARGETS PlayRho EXPORT PlayRho-targets + COMPONENT Library LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - COMPONENT Library ) # install build system hooks for third-party apps