Fix install target of CMakeLists.txt file
This commit is contained in:
parent
63bc9ac033
commit
889e8ff5b3
10
CMakeLists.txt
Executable file → Normal file
10
CMakeLists.txt
Executable file → Normal file
|
@ -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/"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user