Skip to content

Commit

Permalink
let user set ARCHIVE/LIBRARY/RUNTIME DESTINATION by CMAKE_xxx_OUTPUT_…
Browse files Browse the repository at this point in the history
…DIRECTORY
  • Loading branch information
mikesongming committed Jul 14, 2022
1 parent d16aa65 commit 80ddcf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,10 @@ include(GNUInstallDirs)
install(TARGETS vdt
EXPORT vdtTargets
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vdt
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} # let user define by CMAKE_ARCHIVE_OUTPUT_DIRECTORY
# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} # let user define by CMAKE_LIBRARY_OUTPUT_DIRECTORY
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} # let user define by CMAKE_RUNTIME_OUTPUT_DIRECTORY
)

# target configurations for install-tree
install(EXPORT vdtTargets
Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ set_target_properties( vdt PROPERTIES
POSITION_INDEPENDENT_CODE ON
PUBLIC_HEADER "${vdt_HEADERS}"
VERSION "${PROJECT_VERSION}"
SOVERSION "${ABI_VERSION}"
)

# Build Vc wrapper (without c++11)
Expand Down

0 comments on commit 80ddcf4

Please sign in to comment.