diff options
author | Henrique Lacreta Alves <henriquelalves@gmail.com> | 2024-05-14 02:13:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 02:13:58 +0300 |
commit | 569c6856d1bc1b873b317a470d8d1591f92568a2 (patch) | |
tree | da5895d9ee1cef0bde86fc6ed930802f46093deb /libs/CMakeLists.txt | |
parent | 595895c0bf1565510ed23e5c95863cafae1daea7 (diff) | |
parent | d78391bcf9d9730a70298c39871b60314629ed66 (diff) | |
download | gamejam-slgj-2024-569c6856d1bc1b873b317a470d8d1591f92568a2.tar.gz gamejam-slgj-2024-569c6856d1bc1b873b317a470d8d1591f92568a2.tar.bz2 gamejam-slgj-2024-569c6856d1bc1b873b317a470d8d1591f92568a2.zip |
Merge pull request #3 from gilzoide/raylib-submodule
Add raylib as a Git submodule
Diffstat (limited to 'libs/CMakeLists.txt')
-rw-r--r-- | libs/CMakeLists.txt | 9 |
1 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 |