Update LinuxToolchain.cmake
This commit is contained in:
parent
f88670af28
commit
834d3d8c0c
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
include (${CMAKE_CURRENT_SOURCE_DIR}/Util.cmake)
|
|
||||||
|
|
||||||
set (UE_ROOT $ENV{CARLA_UNREAL_ENGINE_PATH})
|
set (UE_ROOT $ENV{CARLA_UNREAL_ENGINE_PATH})
|
||||||
|
|
||||||
if (NOT UE_ROOT)
|
if (NOT UE_ROOT)
|
||||||
|
@ -22,7 +20,7 @@ if ("${UE_ROOT}" STREQUAL "")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT EXISTS ${UE_ROOT})
|
if (NOT EXISTS ${UE_ROOT})
|
||||||
carla_error ("The specified Carla Unreal Engine 5 path does not exist (\"${UE_ROOT}\").")
|
message (FATAL_ERROR "The specified Carla Unreal Engine 5 path does not exist (\"${UE_ROOT}\").")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set (ARCH ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
set (ARCH ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
||||||
|
|
Loading…
Reference in New Issue