Find DirectX libraries based on platform architecture

This commit is contained in:
Prcuvu
2019-10-01 17:07:45 +08:00
parent d63957ed0b
commit 90eb7407fc
+1 -3
View File
@@ -13,12 +13,10 @@ if(NOT EXISTS "$ENV{DXSDK_DIR}")
endif()
set(DIRECTX_INCLUDE_SEARCH_PATHS
# TODO: Do not be limited to x86 in the future.
"$ENV{DXSDK_DIR}/Include")
set(DIRECTX_LIBRARY_SEARCH_PATHS
# TODO: Do not be limited to x86 in the future.
"$ENV{DXSDK_DIR}/Lib/x86")
"$ENV{DXSDK_DIR}/Lib/${SM_WIN32_ARCH}")
find_path(DIRECTX_INCLUDE_DIR
NAMES "DxErr.h"