X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=ccaddd0556885d6e27b414c218a54ba9142ce2ac;hb=7a9fb5103e052150232b64cb5d99374cda3f1234;hp=3ee670d08ba856916968bce4418f4716ec253b94;hpb=330135d22f875bc85f8441e501f97d8f4c55e498;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ee670d..ccaddd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,6 +191,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE ) + CHECK_INCLUDE_FILES(proc/readproc.h READPROC_H_FOUND) + if (READPROC_H_FOUND) + add_definitions (-DHAVE_READPROC_H) + find_library (proc_LIBRARY NAMES proc procps) + endif () endif() if (WIN32 OR APPLE) @@ -247,6 +252,7 @@ endif () if (WIN32) add_subdirectory (thirdparty/less) + add_subdirectory (thirdparty/directxtex) endif () # Always use bundled QJSon. @@ -352,13 +358,18 @@ install ( scripts/jsondiff.py scripts/profileshader.py scripts/retracediff.py - scripts/samples.py scripts/snapdiff.py scripts/tracecheck.py scripts/tracediff.py scripts/unpickle.py DESTINATION ${SCRIPTS_INSTALL_DIR} ) +if (WIN32) + install ( + PROGRAMS scripts/convert.py + DESTINATION ${SCRIPTS_INSTALL_DIR} + ) +endif () ############################################################################## # GUI