X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=CMakeLists.txt;h=cd7f9d114453ba84dc6a11b4434f614370746e9c;hp=d45e557b6fc090b88c45b0664ad011f249833200;hb=8c500069e366f273fd806349e3c0fefbdb639d8d;hpb=73889a4a15f4868645adf9e87abf0b4352faadc2 diff --git a/CMakeLists.txt b/CMakeLists.txt index d45e557..cd7f9d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,6 @@ if (NOT WIN32) pkg_check_modules (EGL egl) pkg_check_modules (GLESV1 glesv1_cm) pkg_check_modules (GLESV2 glesv2) - pkg_check_modules (VG vg) endif () if (UNIX) @@ -65,14 +64,10 @@ if (MSVC) add_definitions (-wd4244) # conversion' conversion from 'type1' to 'type2', possible loss of data endif () -if (NOT APITRACE_BINARY_DIR) - set (APITRACE_BINARY_DIR "${CMAKE_BINARY_DIR}/.." CACHE PATH "apitrace build directory") -endif () -if (NOT EXISTS ${APITRACE_BINARY_DIR}) - message (SEND_ERROR "Invalid APITRACE_BINARY_DIR") -endif () +find_program (APITRACE_EXECUTABLE apitrace DOC "apitrace executable") enable_testing() add_subdirectory (apps) +add_subdirectory (traces)