mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-29 09:53:31 +00:00
Variable consistency changes for dew.cmake
This commit is contained in:
parent
9b95f0b33d
commit
7bc4422954
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user