diff options
| -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) |
