blob: 4b4489cdcc8c2da8711b120879e5c92941cdefcb (
plain)
1
2
3
4
5
6
7
8
9
|
set(BUILD_SHARED_LIBS OFF) # link third party libraries statically
# raylib
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/raylib")
message(FATAL_ERROR "Could not find raylib folder. Did you clone the Git submodules?")
endif()
add_subdirectory(raylib)
target_compile_options(raylib PRIVATE "-w") # disable warnings
|