d3d8 too
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoIxD 2026-09-17 21:44:55 -07:00
commit 9a6a0e7393
12 changed files with 354 additions and 65 deletions

View file

@ -8,17 +8,16 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/../../resource/FindDirectX.cmake)
if(${DIRECTX_FOUND})
foreach(PATH IN LISTS EXAMPLES_DIRECTX_SOURCES)
get_filename_component(TARGET ${PATH} NAME_WE)
add_executable(${TARGET} MACOSX_BUNDLE ${PATH})
add_executable(${TARGET} ${PATH})
target_include_directories(
${TARGET}
PRIVATE
${DIRECTX_INCLUDE_DIRS}
)
target_link_libraries(
${TARGET}
PRIVATE
Mw
${DIRECTX_D3DX9_LIBRARIES}
)
${TARGET}
PRIVATE
Mw
)
endforeach()
endif()