Fix builds
This commit is contained in:
@@ -30,8 +30,6 @@ jobs:
|
||||
run: |
|
||||
git clone https://github.com/microsoft/vcpkg.git
|
||||
${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat
|
||||
${{ github.workspace }}/vcpkg integrate install
|
||||
|
||||
- name: Configure and build project with CMake and vcpkg
|
||||
env:
|
||||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||
|
||||
+6
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user