Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f9e933a
)
Fix: cmake doesn"t create populate targets.
author
Romain Forlot
<romain.forlot@iot.bzh>
Wed, 17 May 2017 23:05:16 +0000
(
01:05
+0200)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Fri, 19 May 2017 09:36:43 +0000
(11:36 +0200)
Use of property make that the variable PROJECTçTARGETS isn't available until
we retrieve it with get_property
Change-Id: I69845425a11af6408dbced4d13c2d04c5181c0be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/etc/macros.cmake
patch
|
blob
|
history
diff --git
a/CAN-binder/etc/macros.cmake
b/CAN-binder/etc/macros.cmake
index
7646c4a
..
8eed237
100644
(file)
--- a/
CAN-binder/etc/macros.cmake
+++ b/
CAN-binder/etc/macros.cmake
@@
-47,6
+47,7
@@
endmacro(defstr)
# WGT packaging
macro(project_targets_populate)
add_custom_target(MAIN_POPULATE)
+ get_property(PROJECT_TARGETS GLOBAL PROPERTY PROJECT_TARGETS)
foreach(TARGET ${PROJECT_TARGETS})
get_target_property(T ${TARGET} LABELS)
if(T)