Browse Source

search raylib in custom directory

pull/4799/head
Bruno Cabral 1 month ago
parent
commit
37c510f3ba
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      cmake/raylib-config.cmake

+ 2
- 2
cmake/raylib-config.cmake View File

@ -25,7 +25,7 @@ if (NOT TARGET raylib)
find_path(raylib_INCLUDE_DIR
NAMES raylib.h
HINTS ${${XPREFIX}_INCLUDE_DIRS}
HINTS ${${XPREFIX}_INCLUDE_DIRS} ${raylib_DIR}/../../../include/
)
set(RAYLIB_NAMES raylib)
@ -36,7 +36,7 @@ if (NOT TARGET raylib)
find_library(raylib_LIBRARY
NAMES ${RAYLIB_NAMES}
HINTS ${${XPREFIX}_LIBRARY_DIRS}
HINTS ${${XPREFIX}_LIBRARY_DIRS} ${raylib_DIR}/../../
)
set(raylib_LIBRARIES ${raylib_LIBRARY})

Loading…
Cancel
Save