Fix builds

This commit is contained in:
Stepanov Igor
2024-12-25 03:07:14 +03:00
parent 231f761569
commit 17460be026
2 changed files with 6 additions and 3 deletions
+6 -1
View File
@@ -10,7 +10,12 @@ add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
find_package(OpenGL REQUIRED)
find_package(GLEW REQUIRED)
find_package(OpenAL CONFIG REQUIRED)
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
# specific for vcpkg
find_package(OpenAL CONFIG REQUIRED)
else()
find_package(OpenAL REQUIRED)
endif()
find_package(ZLIB REQUIRED)
find_package(PNG REQUIRED)
find_package(CURL REQUIRED)