File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1846,8 +1846,10 @@ elseif(WINDOWS)
18461846 set (HAVE_DIRECTX TRUE )
18471847 if (NOT MINGW AND NOT USE_WINSDK_DIRECTX)
18481848 # TODO: change $ENV{DXSDL_DIR} to get the path from the include checks
1849- target_link_directories (sdl-build -options INTERFACE "$$ENV{DXSDK_DIR} \\ lib\\ ${PROCESSOR_ARCH} " )
1850- target_include_directories (sdl-build -options INTERFACE "$ENV{DXSDK_DIR} \\ Include" )
1849+ file (TO_CMAKE_PATH "$ENV{DXSDK_DIR} \\ lib\\ ${PROCESSOR_ARCH} " SDL2_TMP_DXSDK_LIB_DIR)
1850+ target_link_directories (sdl-build -options INTERFACE "${SDL2_TMP_DXSDK_LIB_DIR} " )
1851+ file (TO_CMAKE_PATH "$ENV{DXSDK_DIR} \\ Include" SDL2_TMP_DXSDK_INCLUDE_DIR)
1852+ target_include_directories (sdl-build -options INTERFACE "${SDL2_TMP_DXSDK_INCLUDE_DIR} " )
18511853 endif ()
18521854 endif ()
18531855 set (CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS} )
You can’t perform that action at this time.
0 commit comments