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)
1829
1829
set (HAVE_DIRECTX TRUE )
1830
1830
if (NOT MINGW AND NOT USE_WINSDK_DIRECTX )
1831
1831
# 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} " )
1834
1836
endif ()
1835
1837
endif ()
1836
1838
set (CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS} )
You can’t perform that action at this time.
0 commit comments