From c08897cd106dbeca97c4591a8af088c563fe1444 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 19 Aug 2021 20:06:41 +0000 Subject: [PATCH] cmake: handle empty CVPY_SUFFIX --- modules/python/common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/common.cmake b/modules/python/common.cmake index 6a438fd1a2..ebbb2e2f65 100644 --- a/modules/python/common.cmake +++ b/modules/python/common.cmake @@ -86,7 +86,7 @@ set_target_properties(${the_module} PROPERTIES ARCHIVE_OUTPUT_NAME ${the_module} # prevent name conflict for python2/3 outputs PREFIX "" OUTPUT_NAME cv2 - SUFFIX ${CVPY_SUFFIX}) + SUFFIX "${CVPY_SUFFIX}") if(ENABLE_SOLUTION_FOLDERS) set_target_properties(${the_module} PROPERTIES FOLDER "bindings")