From 165c1582e6beb004c6da28e4aedbdf96be130b8e 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". (cherry picked from commit 6c207aed569ae51e1296955ec444ca950903ed78) --- PlayRho/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayRho/CMakeLists.txt b/PlayRho/CMakeLists.txt index 48a6b328b1..44fcc6b140 100644 --- a/PlayRho/CMakeLists.txt +++ b/PlayRho/CMakeLists.txt @@ -130,11 +130,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