qt5base-lts/config.tests/arch/CMakeLists.txt

11 lines
324 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.16)
project(arch LANGUAGES CXX)
add_executable(architecture_test)
set_property(TARGET architecture_test PROPERTY MACOSX_BUNDLE FALSE)
target_sources(architecture_test PRIVATE arch.cpp)
if(EMSCRIPTEN)
target_compile_options(architecture_test PRIVATE -O2 -msimd128 -msse -msse2)
endif()