X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2FCMakeLists.txt;h=b271727458bb2d6db722c045eaee1eb193dbe4c5;hb=940cdb8b143455fe2fc002ffd50f5e2ffcaf1260;hp=5a2a6088d5da9decd77c81af7182b1c3031c81ed;hpb=77373c35010d89e5ab3f030e4c60f8f6e3fdbe82;p=apitrace diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt index 5a2a608..b271727 100644 --- a/retrace/CMakeLists.txt +++ b/retrace/CMakeLists.txt @@ -6,6 +6,7 @@ include_directories ( ${CMAKE_SOURCE_DIR}/helpers ${CMAKE_BINARY_DIR}/dispatch ${CMAKE_SOURCE_DIR}/dispatch + ${CMAKE_SOURCE_DIR}/image ) add_definitions (-DRETRACE) @@ -39,8 +40,8 @@ add_library (retrace_common STATIC json.cpp ) target_link_libraries (retrace_common + image common - ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${SNAPPY_LIBRARIES} ${GETOPT_LIBRARIES} @@ -135,6 +136,10 @@ if (WIN32) if (DirectX_D3D8_INCLUDE_DIR) include_directories (BEFORE SYSTEM ${DirectX_D3D8_INCLUDE_DIR}) set (HAVE_D3D8 1) + set (D3DSTATE_SOURCES ${D3DSTATE_SOURCES} + d3d8state.cpp + d3d8state_images.cpp + ) else () set (HAVE_D3D8 0) endif ()