diff --git a/CMakeLists.txt b/CMakeLists.txt index 047909d..f7561c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,6 @@ project( file(GLOB_RECURSE sources main.cpp src/*.hpp src/*.cpp lib/*.hpp lib/*.cpp) add_executable(qr ${sources}) -target_compile_options(qr PUBLIC -Wall -std=c++20 -arch arm64) +target_compile_options(qr PUBLIC -Wall -std=c++20 -arch ${CMAKE_SYSTEM_PROCESSOR}) target_include_directories(qr PRIVATE src lib) install(TARGETS qr DESTINATION bin) \ No newline at end of file