From 95cde5c181b5fd1d9ee3f13db749799c4e8ac9d3 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 13 Jun 2022 22:15:48 +0200 Subject: add raylib to the build chain with -O3 and -march=native --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ba14f1..61c8de0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.15) project(shooter) -find_package(raylib 3.0 REQUIRED) # Requires at least version 3.0 +add_subdirectory(raylib) set (CMAKE_CXX_STANDARD 17) set (CMAKE_CXX_COMPILER /usr/lib64/ccache/clang++) @@ -13,7 +13,7 @@ add_executable(${PROJECT_NAME} ) target_link_libraries(${PROJECT_NAME} - raylib + raylib m ) -- cgit v1.2.3