X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=3b932e1459cc3aa41300e849b1e335af83a38d09;hb=c8695f74ce1ee6a93dee4b3f7da5a70a64706c82;hp=91f1b874321caea66abf4cec2ed5597748d68c87;hpb=2cce1925a7987c009e631cafbc8459be056e229c;p=apitrace diff --git a/CMakeLists.txt b/CMakeLists.txt index 91f1b87..3b932e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,6 +191,10 @@ 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) + endif () endif() if (WIN32 OR APPLE) @@ -247,6 +251,7 @@ endif () if (WIN32) add_subdirectory (thirdparty/less) + add_subdirectory (thirdparty/directxtex) endif () # Always use bundled QJSon.