diff options
| author | ilotterytea <iltsu@alright.party> | 2025-01-19 02:30:20 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-01-19 02:30:20 +0500 |
| commit | 8bc01fccc138461f3bd58cd9d2707309fe745a43 (patch) | |
| tree | 8c097dbab93bf0cc6c88214150f305d033b7389d /CMakeLists.txt | |
| parent | 3bfc51ee2ce8931ce0ef6952e1bfc0d2f52e30cf (diff) | |
feat: raygui dependency
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4617332..be2f5b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,4 +36,15 @@ if (NOT raylib_FOUND) FetchContent_MakeAvailable(raylib) endif() -target_link_libraries(sillyeditor PRIVATE raylib) +# raygui +include(FetchContent) +FetchContent_Declare( + raygui + GIT_REPOSITORY https://github.com/raysan5/raygui.git + GIT_TAG 4.0 +) +FetchContent_MakeAvailable(raygui) + +target_include_directories(sillyeditor PRIVATE ${raygui_SOURCE_DIR}/src) + +target_link_libraries(sillyeditor PRIVATE raylib m) |
