diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/CMakeLists.txt | 9 | ||||
m--------- | libs/raylib | 0 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt new file mode 100644 index 0000000..4b4489c --- /dev/null +++ b/libs/CMakeLists.txt @@ -0,0 +1,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 diff --git a/libs/raylib b/libs/raylib new file mode 160000 +Subproject f1007554a0a8145060797c0aa8169bdaf2c1c6b |