From 0b55308f83e802217de829aeccfe9bbc178a37fe Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Wed, 1 Aug 2018 00:11:41 +0200 Subject: [PATCH] Do not install the library in a subdirectory in CMakeLists.txt --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index decc5367..b4aa114b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 )