mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-11 22:18:54 +01:00
[build][cmake] Improve cmake config file generation (#4541)
* Improve cmake config file generation
This allows for finding raylib on a non-standard location (eg, not in /usr/lib{,64})
* Only have glfw as private if using internal glfw and not static
This commit is contained in:
committed by
GitHub
parent
79188f570b
commit
c53dd8a931
@ -125,7 +125,3 @@ if (NOT GRAPHICS)
|
||||
endif ()
|
||||
|
||||
set(LIBS_PRIVATE ${LIBS_PRIVATE} ${OPENAL_LIBRARY})
|
||||
|
||||
if (${PLATFORM} MATCHES "Desktop")
|
||||
set(LIBS_PRIVATE ${LIBS_PRIVATE} glfw)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user