From f88e9af74cfc22019bb47f48dc915139ba0437c7 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 17 May 2017 18:41:43 +0200 Subject: Fix: populate targets not created It is a consequence of using property, we have to retrieve it before test it Change-Id: If617bb673cd348dcc7d193878350a4b2c09dee05 Signed-off-by: Romain Forlot --- reference/etc/macros.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'reference') diff --git a/reference/etc/macros.cmake b/reference/etc/macros.cmake index 5514679..da991db 100644 --- a/reference/etc/macros.cmake +++ b/reference/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) -- cgit 1.2.3-korg