Skip to content

Commit 4f766de

Browse files
author
Ronny Hansen
committed
build: add install rule for nd100x binary
`make install` now installs nd100x to /usr/local/bin.
1 parent 59d60ab commit 4f766de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/frontend/nd100x/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ endif()
8787
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/nd100x.conf
8888
${CMAKE_BINARY_DIR}/etc/nd100x.conf COPYONLY)
8989

90+
# Install nd100x binary
91+
install(TARGETS nd100x RUNTIME DESTINATION bin)
92+
9093
# Create the prototypes header using mkptypes
9194
add_custom_command(
9295
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/nd100x_protos.h

0 commit comments

Comments
 (0)