aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-05-30 23:04:32 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-05-30 23:04:32 +0200
commit4fe5aa5dbaa1f4fb2621d73e053b987664acd358 (patch)
tree2a4c9e8c2fbd27ebd3f7a8e4720465dde0cb7770 /CMakeLists.txt
parentcooler (diff)
downloadyabs-4fe5aa5dbaa1f4fb2621d73e053b987664acd358.tar.gz
yabs-4fe5aa5dbaa1f4fb2621d73e053b987664acd358.tar.bz2
yabs-4fe5aa5dbaa1f4fb2621d73e053b987664acd358.tar.xz
yabs-4fe5aa5dbaa1f4fb2621d73e053b987664acd358.tar.zst
yabs-4fe5aa5dbaa1f4fb2621d73e053b987664acd358.zip
smooth mouselook and slowburn(TM) atmosphere
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a2edc8..8af6e9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,11 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES})
+target_compile_options(${PROJECT_NAME}
+ PRIVATE -O3
+ PRIVATE -march=native
+)
+
# Checks if OSX and links appropriate frameworks (only required on MacOS)
if (APPLE)
target_link_libraries(${PROJECT_NAME} "-framework IOKit")