From 7bc442295418e393c14f58d08218df5b3509f65d Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 2 Jun 2019 13:29:01 -1000 Subject: [PATCH] Variable consistency changes for dew.cmake --- dew.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dew.cmake b/dew.cmake index f829ba7f..071f601a 100644 --- a/dew.cmake +++ b/dew.cmake @@ -32,9 +32,9 @@ function(integrate_dew) message(FATAL_ERROR "Failed to install dew with pip: result: ${install_dew_result}.") endif() message(STATUS "Building dew dependencies") - execute_process(COMMAND "${Python3_EXECUTABLE}" -m dew update WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + execute_process(COMMAND "${Python3_EXECUTABLE}" -m dew update WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" RESULT_VARIABLE dew_res) - if(NOT ${dew_res} EQUAL 0) + if(NOT dew_res EQUAL 0) message(FATAL_ERROR "Unable to run dew: ${dew_res}") endif() endif()