diff --git a/CMakeLists.txt b/CMakeLists.txt index 46c93c85..b06525c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,12 +9,12 @@ include(settings.cmake) project(camkes-vm C CXX ASM) if(AppArch STREQUAL "Arm") - find_package(camkes-arm-vm REQUIRED) - camkes_arm_vm_setup_arm_vm_environment() -elseif (AppArch STREQUAL "x86") - camkes_x86_vm_setup_x86_vm_environment() + find_package(camkes-arm-vm REQUIRED) + camkes_arm_vm_setup_arm_vm_environment() +elseif(AppArch STREQUAL "x86") + camkes_x86_vm_setup_x86_vm_environment() else() - message(FATAL_ERROR "Unsupported") + message(FATAL_ERROR "Unsupported") endif() # Add VM application add_subdirectory("apps/${AppArch}/${CAMKES_VM_APP}")