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 @@ -1829,8 +1829,10 @@ elseif(WINDOWS)
18291829 set (HAVE_DIRECTX TRUE )
18301830 if (NOT MINGW AND NOT USE_WINSDK_DIRECTX)
18311831 # TODO: change $ENV{DXSDL_DIR} to get the path from the include checks
1832- target_link_directories (sdl-build -options INTERFACE "$$ENV{DXSDK_DIR} \\ lib\\ ${PROCESSOR_ARCH} " )
1833- target_include_directories (sdl-build -options INTERFACE "$ENV{DXSDK_DIR} \\ Include" )
1832+ file (TO_CMAKE_PATH "$ENV{DXSDK_DIR} \\ lib\\ ${PROCESSOR_ARCH} " SDL2_TMP_DXSDK_LIB_DIR)
1833+ target_link_directories (sdl-build -options INTERFACE "${SDL2_TMP_DXSDK_LIB_DIR} " )
1834+ file (TO_CMAKE_PATH "$ENV{DXSDK_DIR} \\ Include" SDL2_TMP_DXSDK_INCLUDE_DIR)
1835+ target_include_directories (sdl-build -options INTERFACE "${SDL2_TMP_DXSDK_INCLUDE_DIR} " )
18341836 endif ()
18351837 endif ()
18361838 set (CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS} )
You can’t perform that action at this time.
0 commit comments