Skip to content

Commit

Permalink
add configurable install path
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mirz committed Feb 20, 2020
1 parent 091d856 commit 17ad683
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,9 @@ set_target_properties(${LIB_NAME} PROPERTIES FOLDER "3rdparty/arabica")
# Install library
#
install(TARGETS ${LIB_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static
)

install(DIRECTORY include/
Expand Down Expand Up @@ -582,4 +582,5 @@ if(BUILD_ARABICA_EXAMPLES)
endif()

include(CPack)


0 comments on commit 17ad683

Please sign in to comment.