Revert "[build][cmake] Improve cmake config file generation (#4541)"

This reverts commit c53dd8a931.
This commit is contained in:
Ray 2024-11-28 22:44:42 +01:00
parent c53dd8a931
commit abb3c8e9f7
7 changed files with 110 additions and 43 deletions

View file

@ -125,3 +125,7 @@ if (NOT GRAPHICS)
endif ()
set(LIBS_PRIVATE ${LIBS_PRIVATE} ${OPENAL_LIBRARY})
if (${PLATFORM} MATCHES "Desktop")
set(LIBS_PRIVATE ${LIBS_PRIVATE} glfw)
endif ()