Skip to content

Commit

Permalink
Merge pull request #71 from YGNI-RType/fix/cmake-windows
Browse files Browse the repository at this point in the history
Fix/cmake windows
  • Loading branch information
Popochounet authored Nov 5, 2024
2 parents 825f9e2 + 10e64a4 commit 6d3374c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ include(GNUInstallDirs)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

include(cmake/automate-vcpkg.cmake)
vcpkg_bootstrap()
vcpkg_install_packages(raylib stduuid nlohmann-json portaudio opus bzip2)
if (NOT DEFINED ENV{NOT_INSTALL_VCPKG})
vcpkg_bootstrap()
vcpkg_install_packages(raylib stduuid nlohmann-json portaudio opus bzip2)
endif()

file(GLOB_RECURSE SOURCES source/*.cpp)
list(FILTER SOURCES EXCLUDE REGEX ".*/deprecated/.*")
Expand Down

0 comments on commit 6d3374c

Please sign in to comment.