Change unix dest dir

Allows for installation on macOS with SIP, plus general good practice
fixes-turtlebasket
michael 2023-06-13 14:01:23 -07:00
parent 3b88fa8f01
commit c58f582f79
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ endif(BUILD_EXAMPLE)
# Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
if (UNIX)
set(DESTDIR "/usr")
set(DESTDIR "/usr/local")
INSTALL(TARGETS opengjk_ce
LIBRARY DESTINATION "${DESTDIR}/lib"
PUBLIC_HEADER DESTINATION "${DESTDIR}/include"