diff options
| author | locriacyber <[email protected]> | 2022-02-05 13:33:05 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-05 13:33:05 +0100 |
| commit | 1e436be51d4f8853c3494a0753eabe7628ac6d90 (patch) | |
| tree | 5832b45de5098c989fa67bf6630b74f21a37e011 /src | |
| parent | c895bed5e6506180d2325efaad601901b94912e0 (diff) | |
| download | raylib-1e436be51d4f8853c3494a0753eabe7628ac6d90.tar.gz raylib-1e436be51d4f8853c3494a0753eabe7628ac6d90.zip | |
Make audio examples compile with external glfw on Linux (#2329)
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2877c9ac..c96f4f56 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -41,6 +41,10 @@ set(raylib_sources # <root>/cmake/GlfwImport.cmake handles the details around the inclusion of glfw include(GlfwImport) +# Sets additional platform options and link libraries for each platform +# also selects the proper graphics API and version for that platform +# Produces a variable LIBS_PRIVATE that will be used later +include(LibraryConfigurations) if (USE_AUDIO) MESSAGE(STATUS "Audio Backend: miniaudio") @@ -49,10 +53,6 @@ else () MESSAGE(STATUS "Audio Backend: None (-DUSE_AUDIO=OFF)") endif () -# Sets additional platform options and link libraries for each platform -# also selects the proper graphics API and version for that platform -# Produces a variable LIBS_PRIVATE that will be used later -include(LibraryConfigurations) add_library(raylib ${raylib_sources} ${raylib_public_headers}) |
