mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
Fix builds
This commit is contained in:
parent
231f761569
commit
17460be026
2 changed files with 6 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue