Fix configure error when BUILD_CARLA_UNREAL=OFF
This commit is contained in:
parent
e69289736f
commit
16014019e0
|
@ -198,7 +198,8 @@ carla_string_option (
|
|||
"${CARLA_UNREAL_RHI_DEFAULT}"
|
||||
)
|
||||
|
||||
if (${BUILD_CARLA_UNREAL} AND ${CARLA_HAS_UNREAL_ENGINE_PATH})
|
||||
if (${BUILD_CARLA_UNREAL})
|
||||
if (${CARLA_HAS_UNREAL_ENGINE_PATH})
|
||||
carla_message (
|
||||
"Carla UE project successfully added to build. (UE path: ${CARLA_UNREAL_ENGINE_PATH})"
|
||||
)
|
||||
|
@ -209,6 +210,7 @@ else ()
|
|||
"Please set it to point to the root path of your CARLA Unreal Engine installation."
|
||||
)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
carla_string_option (
|
||||
CARLA_LAUNCH_ARGS
|
||||
|
|
Loading…
Reference in New Issue