Skip to content

Commit

Permalink
Update compiler_targets.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Milerius committed Aug 5, 2020
1 parent 55a0fd1 commit 124ed45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compiler_targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ add_library(antara::optimize_settings ALIAS antara_optimize_settings)

target_compile_options(antara_optimize_settings INTERFACE
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:Clang>,$<PLATFORM_ID:Linux>>:-O0 -g>
$<$<AND:$<CONFIG:Release>,$<CXX_COMPILER_ID:Clang>,$<PLATFORM_ID:Linux>>:-O3 --target=aarch64-unknown-linux-gui -ffast-math>
$<$<AND:$<CONFIG:Release>,$<CXX_COMPILER_ID:Clang>,$<PLATFORM_ID:Linux>>:-O3 -march=x86-64 -ffast-math>
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:Clang>,$<PLATFORM_ID:Darwin>>:-O0 -g>
$<$<AND:$<CONFIG:Release>,$<CXX_COMPILER_ID:Clang>,$<PLATFORM_ID:Darwin>>:-O3 -march=native -ffast-math>
$<$<AND:$<CONFIG:Debug>,$<CXX_COMPILER_ID:AppleClang>,$<PLATFORM_ID:Darwin>>:-O0 -g>
Expand Down

0 comments on commit 124ed45

Please sign in to comment.