Variable consistency changes for dew.cmake

This commit is contained in:
Jack Andersen 2019-06-02 13:29:01 -10:00 committed by GitHub
parent 9b95f0b33d
commit 7bc4422954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()