Skip to content

Commit

Permalink
avoid calling project only for native cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroGhg committed Oct 5, 2023
1 parent 9ab861e commit 9aff96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
if(NOT CA_NATIVE_CPU)
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
project(ComputeAorta VERSION 4.0.0 LANGUAGES C CXX ASM)

Expand Down

0 comments on commit 9aff96e

Please sign in to comment.