quote ${dependencies} var so it's treated as one var in the if statement

release/4.3a0
Duy-Nguyen Ta 2017-07-24 14:55:37 -04:00
parent aaea11dd83
commit 31eda8a38b
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ function(wrap_library_cython interface_header generated_files_path extra_imports
VERBATIM
WORKING_DIRECTORY ${generated_files_path}/../)
add_custom_target(cython_wrap_${module_name}_pyx ALL DEPENDS ${generated_pyx})
if(NOT ${dependencies} STREQUAL "")
if(NOT "${dependencies}" STREQUAL "")
add_dependencies(cython_wrap_${module_name}_pyx ${dependencies})
endif()