Do not install the library in a subdirectory in CMakeLists.txt

This commit is contained in:
Daniel Chappuis 2018-08-01 00:11:41 +02:00
parent e84787354a
commit 0b55308f83

View File

@ -256,8 +256,8 @@ SET_TARGET_PROPERTIES(reactphysics3d PROPERTIES PUBLIC_HEADER "${REACTPHYSICS3D_
# Install target
INSTALL(TARGETS reactphysics3d
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/reactphysics3d
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/reactphysics3d
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/reactphysics3d
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/reactphysics3d
)