Skip to content

Commit

Permalink
Merge pull request EOSIO#19 from EOSIO/install_lib
Browse files Browse the repository at this point in the history
Move install to submodule and install to proper location
  • Loading branch information
spoonincode authored Sep 5, 2018
2 parents b66d29b + 0a34768 commit 315ef1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ target_link_libraries( chainbase ${Boost_LIBRARIES} ${PLATFORM_LIBRARIES} )
target_include_directories( chainbase PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" ${Boost_INCLUDE_DIR} )

add_subdirectory( test )
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/chainbase DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR})

install(TARGETS chainbase
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})

0 comments on commit 315ef1b

Please sign in to comment.