diff --git a/CMakeLists.txt b/CMakeLists.txt index def0667..6ff2f86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,22 +21,6 @@ if(NOT raylib_FOUND) # If there's none, fetch and build raylib endif() endif() -set(RAYLIB_CPP_VERSION "v5.5.0") -find_package(raylib_cpp QUIET) # QUIET or REQUIRED -if(NOT raylib_cpp_FOUND) # If there's none, fetch and build raylib - include(FetchContent) - FetchContent_Declare( - raylib_cpp - DOWNLOAD_EXTRACT_TIMESTAMP OFF - URL https://github.com/RobLoach/raylib-cpp/archive/refs/tags/${RAYLIB_CPP_VERSION}.tar.gz - ) - FetchContent_GetProperties(raylib_cpp) - if(NOT raylib_cpp_POPULATED) # Have we downloaded raylib yet? - set(FETCHCONTENT_QUIET NO) - FetchContent_MakeAvailable(raylib_cpp) - endif() -endif() - # Our Project add_executable(${PROJECT_NAME}) @@ -85,11 +69,10 @@ target_sources(${PROJECT_NAME} PRIVATE ${GENERATED_HEADERS}) target_include_directories(${PROJECT_NAME} PRIVATE ${DATA_DIR} ${raylib_INCLUDE_DIRS} - ${raylib_cpp_INCLUDE_DIRS} ) # Link libraries -target_link_libraries(${PROJECT_NAME} raylib raylib_cpp) +target_link_libraries(${PROJECT_NAME} raylib) # Web Configurations if(${PLATFORM} STREQUAL "Web") diff --git a/README.md b/README.md index b06d2f2..d42720f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# RaylibGame +# RaylibTemplate -A template for making games with Raylib-CPP +A template for making games with Raylib (with CMake)