diff --git a/.gitmodules b/.gitmodules index c06ff0d4..4ab9f1d3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -38,10 +38,10 @@ path = third-party/nv-codec-headers url = https://github.com/FFmpeg/nv-codec-headers.git branch = sdk/12.0 -[submodule "third-party/nvapi-open-source-sdk"] - path = third-party/nvapi-open-source-sdk - url = https://github.com/LizardByte/nvapi-open-source-sdk.git - branch = sdk +[submodule "third-party/nvapi"] + path = third-party/nvapi + url = https://github.com/NVIDIA/nvapi.git + branch = main [submodule "third-party/Simple-Web-Server"] path = third-party/Simple-Web-Server url = https://github.com/LizardByte-infrastructure/Simple-Web-Server.git diff --git a/cmake/compile_definitions/windows.cmake b/cmake/compile_definitions/windows.cmake index 60ee905b..94e77ce2 100644 --- a/cmake/compile_definitions/windows.cmake +++ b/cmake/compile_definitions/windows.cmake @@ -24,9 +24,9 @@ add_definitions(-DMINIUPNP_STATICLIB) add_subdirectory(tools) # todo - this is temporary, only tools for Windows are needed, for now # nvidia -include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/third-party/nvapi-open-source-sdk") +include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/third-party/nvapi") file(GLOB NVPREFS_FILES CONFIGURE_DEPENDS - "${CMAKE_SOURCE_DIR}/third-party/nvapi-open-source-sdk/*.h" + "${CMAKE_SOURCE_DIR}/third-party/nvapi/*.h" "${CMAKE_SOURCE_DIR}/src/platform/windows/nvprefs/*.cpp" "${CMAKE_SOURCE_DIR}/src/platform/windows/nvprefs/*.h") diff --git a/third-party/nvapi b/third-party/nvapi new file mode 160000 index 00000000..7cb76fce --- /dev/null +++ b/third-party/nvapi @@ -0,0 +1 @@ +Subproject commit 7cb76fce2f52de818b3da497af646af1ec16ce27 diff --git a/third-party/nvapi-open-source-sdk b/third-party/nvapi-open-source-sdk deleted file mode 160000 index cce4e90b..00000000 --- a/third-party/nvapi-open-source-sdk +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cce4e90b629f712ae6eebafac97739bd1196cdef