diff --git a/CMakeLists.txt b/CMakeLists.txt index 56b4eea..0edb910 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.1) set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static") project(rayjs) message("=== Configure raylib ===")