Skip to content

Commit

Permalink
build(deps): use submodule for nvapi opensource (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Jul 21, 2023
1 parent f541f22 commit 4b986b2
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 27,760 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@
path = third-party/tray
url = https://github.com/dmikushin/tray
branch = master
[submodule "third-party/nvapi-open-source-sdk"]
path = third-party/nvapi-open-source-sdk
url = https://github.com/LizardByte/nvapi-open-source-sdk
branch = sdk
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ if(WIN32)
add_compile_definitions(SUNSHINE_PLATFORM="windows")
add_subdirectory(tools) # This is temporary, only tools for Windows are needed, for now

include_directories(SYSTEM third-party/nvapi-opensource)
include_directories(SYSTEM third-party/nvapi-open-source-sdk)
file(GLOB NVPREFS_FILES CONFIGURE_DEPENDS
"third-party/nvapi-opensource/*.h"
"third-party/nvapi-open-source-sdk/*.h"
"src/platform/windows/nvprefs/*.cpp"
"src/platform/windows/nvprefs/*.h")

Expand Down
1 change: 1 addition & 0 deletions third-party/nvapi-open-source-sdk
Submodule nvapi-open-source-sdk added at c0f5f7
Loading

0 comments on commit 4b986b2

Please sign in to comment.