Skip to content

Commit

Permalink
fix: install_target install runtime to lib location
Browse files Browse the repository at this point in the history
Close #8

Signed-off-by: msclock <[email protected]>
  • Loading branch information
msclock committed Nov 15, 2023
1 parent 24aacc4 commit d1ffc42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/install/Common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ function(install_target)
install(
TARGETS ${arg_TARGETS}
EXPORT ${arg_NAME}-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}$<$<CONFIG:Debug>:/../debug/lib>
LIBRARY DESTINATION $<$<CONFIG:Debug>:debug/>${CMAKE_INSTALL_LIBDIR}
COMPONENT ${arg_NAME}_runtime
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}$<$<CONFIG:Debug>:/../debug/lib>
ARCHIVE DESTINATION $<$<CONFIG:Debug>:debug/>${CMAKE_INSTALL_LIBDIR}
COMPONENT ${arg_NAME}_runtime
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}$<$<CONFIG:Debug>:/../debug/lib>
RUNTIME DESTINATION $<$<CONFIG:Debug>:debug/>${CMAKE_INSTALL_BINDIR}
COMPONENT ${arg_NAME}_runtime
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${arg_NAME}
COMPONENT ${arg_NAME}_development)
Expand Down

0 comments on commit d1ffc42

Please sign in to comment.