add: cmake config include guard

This commit is contained in:
MyUncle 2022-07-24 23:09:08 -05:00
parent d78177d246
commit 13c5d587d5
No known key found for this signature in database
GPG Key ID: E787D8D9EF96055C

View File

@ -11,6 +11,7 @@
# raylib_LDFLAGS - The linker flags needed with raylib
# raylib_DEFINITIONS - Compiler switches required for using raylib
if (NOT TARGET raylib)
set(XPREFIX PC_RAYLIB)
find_package(PkgConfig QUIET)
@ -75,3 +76,4 @@ if (raylib_VERBOSE)
message(STATUS "raylib_LDFLAGS: ${raylib_LDFLAGS}")
message(STATUS "raylib_DEFINITIONS: ${raylib_DEFINITIONS}")
endif()
endif()