summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/03-macros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cmake.d/03-macros.cmake')
-rw-r--r--cmake/cmake.d/03-macros.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake
index eb7f83c..651e3d7 100644
--- a/cmake/cmake.d/03-macros.cmake
+++ b/cmake/cmake.d/03-macros.cmake
@@ -367,7 +367,8 @@ macro(project_targets_populate)
get_target_property(OUT ${TARGET} OUTPUT_NAME)
if(P MATCHES "NOTFOUND$")
- if (${T} STREQUAL "LIBRARY")
+ if (${T} STREQUAL "LIBRARY" OR
+ ${T} MATCHES "^BINDINGV?.?$")
set(P "lib")
else()
set(P "")