aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-10-25 15:33:03 +1000
committerfuzzard <fuzzard@kodi.tv>2023-10-25 15:42:33 +1000
commit09aaa63d22e9493ee77155d64c9769fdf47010fb (patch)
treec75544e890822157f3bd0600e5a22f4728048d78 /cmake
parentbd91412c0e0e0e613a71a38694e2908f0a419f92 (diff)
[cmake] add ${CORE_PLATFORM_NAME_LC}_SEARCH_CONFIG NO_DEFAULT_PATH for windows
Diffstat (limited to 'cmake')
-rw-r--r--cmake/platform/windows/windows.cmake2
-rw-r--r--cmake/platform/windowsstore/windowsstore.cmake2
2 files changed, 4 insertions, 0 deletions
diff --git a/cmake/platform/windows/windows.cmake b/cmake/platform/windows/windows.cmake
index a5e13a9c5c..b3dc4d24e4 100644
--- a/cmake/platform/windows/windows.cmake
+++ b/cmake/platform/windows/windows.cmake
@@ -1,3 +1,5 @@
set(PLATFORM_REQUIRED_DEPS D3DX11Effects Detours)
set(APP_RENDER_SYSTEM dx11)
list(APPEND PLATFORM_DEFINES -DNTDDI_VERSION=NTDDI_WINBLUE -D_WIN32_WINNT=_WIN32_WINNT_WINBLUE)
+
+set(${CORE_PLATFORM_NAME_LC}_SEARCH_CONFIG NO_DEFAULT_PATH CACHE STRING "")
diff --git a/cmake/platform/windowsstore/windowsstore.cmake b/cmake/platform/windowsstore/windowsstore.cmake
index b0c2992d99..50eb55599c 100644
--- a/cmake/platform/windowsstore/windowsstore.cmake
+++ b/cmake/platform/windowsstore/windowsstore.cmake
@@ -1,2 +1,4 @@
set(PLATFORM_REQUIRED_DEPS D3DX11Effects)
set(APP_RENDER_SYSTEM dx11)
+
+set(${CORE_PLATFORM_NAME_LC}_SEARCH_CONFIG NO_DEFAULT_PATH CACHE STRING "")