From 31eda8a38bc4cf11da433f1491e2404bcf2f876e Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Mon, 24 Jul 2017 14:55:37 -0400 Subject: [PATCH] quote ${dependencies} var so it's treated as one var in the if statement --- cmake/GtsamCythonWrap.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GtsamCythonWrap.cmake b/cmake/GtsamCythonWrap.cmake index 7f98356d3..874383199 100644 --- a/cmake/GtsamCythonWrap.cmake +++ b/cmake/GtsamCythonWrap.cmake @@ -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()