mirror of
https://github.com/opencv/opencv.git
synced 2025-06-27 23:11:57 +08:00
cmake: handle empty CVPY_SUFFIX
This commit is contained in:
parent
384875f4fc
commit
c08897cd10
@ -86,7 +86,7 @@ set_target_properties(${the_module} PROPERTIES
|
|||||||
ARCHIVE_OUTPUT_NAME ${the_module} # prevent name conflict for python2/3 outputs
|
ARCHIVE_OUTPUT_NAME ${the_module} # prevent name conflict for python2/3 outputs
|
||||||
PREFIX ""
|
PREFIX ""
|
||||||
OUTPUT_NAME cv2
|
OUTPUT_NAME cv2
|
||||||
SUFFIX ${CVPY_SUFFIX})
|
SUFFIX "${CVPY_SUFFIX}")
|
||||||
|
|
||||||
if(ENABLE_SOLUTION_FOLDERS)
|
if(ENABLE_SOLUTION_FOLDERS)
|
||||||
set_target_properties(${the_module} PROPERTIES FOLDER "bindings")
|
set_target_properties(${the_module} PROPERTIES FOLDER "bindings")
|
||||||
|
Loading…
Reference in New Issue
Block a user