Skip to content

Commit

Permalink
Also export the sio-dump target in the SIO:: namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored and rete committed Feb 8, 2021
1 parent dcd78e2 commit 0b1187b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/SIOConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Exported Targets
#
# SIO::sio : Base sio library
# SIO::sio-dump : sio-dump utility
#
# returns following variables:
#
Expand Down
4 changes: 3 additions & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ SIO_INSTALL_DIRECTORY( include/sio DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
# build dump binaries
ADD_EXECUTABLE( sio-dump main/sio-dump.cc )
TARGET_LINK_LIBRARIES( sio-dump sio )
INSTALL( TARGETS sio-dump RUNTIME DESTINATION bin )
INSTALL( TARGETS sio-dump
EXPORT SIOTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )

# SIO examples
IF( SIO_EXAMPLES )
Expand Down

0 comments on commit 0b1187b

Please sign in to comment.