diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 index 830ae0e5..b04513fc --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -237,7 +237,7 @@ SET (REACTPHYSICS3D_SOURCES ADD_LIBRARY(reactphysics3d STATIC ${REACTPHYSICS3D_HEADERS} ${REACTPHYSICS3D_SOURCES}) # Set the public headers -#SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER ${REACTPHYSICS3D_HEADERS}) +SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER "${REACTPHYSICS3D_HEADERS}") # Headers TARGET_INCLUDE_DIRECTORIES(reactphysics3d PUBLIC @@ -257,8 +257,8 @@ ENDIF(COMPILE_TESTS) # Install target INSTALL(TARGETS reactphysics3d - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/rp3d" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/rp3d" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/rp3d" + PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/rp3d/" )