summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmake/cmake.d/03-macros.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmake/cmake.d/03-macros.cmake b/src/cmake/cmake.d/03-macros.cmake
index 0327c59..ff240cd 100644
--- a/src/cmake/cmake.d/03-macros.cmake
+++ b/src/cmake/cmake.d/03-macros.cmake
@@ -366,6 +366,9 @@ macro(project_targets_populate)
get_target_property(SD ${TARGET} SOURCE_DIR)
get_target_property(OUT ${TARGET} OUTPUT_NAME)
+ if(OUT MATCHES "NOTFOUND$")
+ set(OUT ${TARGET})
+ endif()
if(P MATCHES "NOTFOUND$")
if (${T} STREQUAL "LIBRARY" OR
${T} MATCHES "^BINDINGV?.?$")