From 7cef4e55fba8311dde87a333fa5ec9b1b20220d1 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Wed, 14 Jun 2023 13:53:32 -0700 Subject: [PATCH] install openGJK/openGJK.h to /usr/local/include missed this in the dylib inst commit; I broke the install() command into 2 --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b720422..541cea9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,10 @@ if (UNIX) set(DESTDIR "/usr/local") INSTALL(TARGETS opengjk_ce LIBRARY DESTINATION "${DESTDIR}/lib" - PUBLIC_HEADER DESTINATION "${DESTDIR}/include" + PERMISSIONS WORLD_WRITE + ) + INSTALL(TARGETS obj_openGJK + PUBLIC_HEADER DESTINATION "${DESTDIR}/include/openGJK" PERMISSIONS WORLD_WRITE ) endif (UNIX)