Skip to content

Commit

Permalink
fix: patch make install. Was generating an error (bin folder does not…
Browse files Browse the repository at this point in the history
… exist) when trying to install lib without building examples and tests. Cylix#20
  • Loading branch information
Cylix committed Oct 25, 2016
1 parent 1d04e1e commit 0f3d233
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ ENDIF (DEFAULT_NB_IO_SERVICE_WORKERS)
###
# install
###
# ensure lib and bin directories exist
install(DIRECTORY DESTINATION ${CMAKE_BINARY_DIR}/lib/)
install(DIRECTORY DESTINATION ${CMAKE_BINARY_DIR}/bin/)
# install cpp_redis
install (DIRECTORY ${CMAKE_BINARY_DIR}/lib/ DESTINATION lib USE_SOURCE_PERMISSIONS)
install (DIRECTORY ${CMAKE_BINARY_DIR}/bin/ DESTINATION bin USE_SOURCE_PERMISSIONS)
install (DIRECTORY ${CPP_REDIS_INCLUDES}/ DESTINATION include USE_SOURCE_PERMISSIONS)
Expand Down

0 comments on commit 0f3d233

Please sign in to comment.