peerplays_migrated/libraries/plugins/snapshot/CMakeLists.txt

20 lines
505 B
CMake
Raw Normal View History

2018-09-10 13:55:48 +00:00
file(GLOB HEADERS "include/graphene/snapshot/*.hpp")
add_library( graphene_snapshot
snapshot.cpp
)
target_link_libraries( graphene_snapshot PRIVATE graphene_plugin )
2018-09-10 13:55:48 +00:00
target_include_directories( graphene_snapshot
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
install( TARGETS
graphene_snapshot
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
2020-02-24 14:24:01 +00:00
INSTALL( FILES ${HEADERS} DESTINATION "include/graphene/snapshot" )