projects
/
project
/
firmware-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0cfc8
)
cmake: fix missing install target
author
Petr Štetiar
<ynezz@true.cz>
Mon, 5 Jul 2021 09:51:01 +0000
(11:51 +0200)
committer
Petr Štetiar
<ynezz@true.cz>
Mon, 5 Jul 2021 09:51:01 +0000
(11:51 +0200)
Add a missing install target so the binaries could be installed.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 0bcc448d3aed4970c1c0d03148330898c647366a..20feb6281cffde8de1b8d0aab3cd9059e5505adf 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-17,6
+17,7
@@
ADD_DEFINITIONS(-Wall -Wno-unused-parameter)
MACRO(FW_UTIL util deps extra_cflags libs)
ADD_EXECUTABLE(${util} src/${util}.c ${deps})
+ INSTALL(TARGETS ${util} RUNTIME)
IF(NOT ${ARGV2} STREQUAL "")
SET_TARGET_PROPERTIES(${util} PROPERTIES COMPILE_FLAGS ${extra_cflags})
ENDIF()