Link against dxerr8 for error handling
This commit is contained in:
parent
1b2232cf5d
commit
c2e3c917ee
1 changed files with 2 additions and 0 deletions
|
@ -14,9 +14,11 @@ link_directories(AFTER ${SOURCE_DIR}/8.0/lib/)
|
||||||
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
||||||
add_compile_definitions(POINTER_64=__ptr64)
|
add_compile_definitions(POINTER_64=__ptr64)
|
||||||
add_library(ScrapHack SHARED ScrapHack.cpp dllmain.cpp)
|
add_library(ScrapHack SHARED ScrapHack.cpp dllmain.cpp)
|
||||||
|
add_dependencies(ScrapHack DirectX)
|
||||||
target_link_libraries(ScrapHack
|
target_link_libraries(ScrapHack
|
||||||
d3d8
|
d3d8
|
||||||
d3dx8
|
d3dx8
|
||||||
|
dxerr8
|
||||||
legacy_stdio_definitions)
|
legacy_stdio_definitions)
|
||||||
target_compile_features(ScrapHack PUBLIC cxx_std_11)
|
target_compile_features(ScrapHack PUBLIC cxx_std_11)
|
||||||
install(TARGETS ScrapHack DESTINATION bin)
|
install(TARGETS ScrapHack DESTINATION bin)
|
||||||
|
|
Loading…
Reference in a new issue