diff options
author | Muflone <webreg@vbsimple.net> | 2015-01-11 05:03:16 +0300 |
---|---|---|
committer | Muflone <webreg@vbsimple.net> | 2015-01-11 05:03:16 +0300 |
commit | 7a1b8da7ff01103680a70cf2bbd1d48c8eee2583 (patch) | |
tree | d949e781ac7618791c825f1f5feba1752b4dac52 /CMakeLists.txt | |
parent | 36aefc3929d6c311df4ca95a1ee937bbf436bf00 (diff) |
Added function tracing if enabled using -DWITH_TRACE_CALLS=ON
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 53f5f970f..6c085b5ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,11 @@ find_required_package(PTHREAD) find_suggested_package(GCRYPT) find_suggested_package(AVAHI) +if(WITH_TRACE_CALLS) + message(STATUS "Enabling trace calls.") + add_definitions(-DWITH_TRACE_CALLS) +endif() + if(GCRYPT_FOUND) add_definitions(-DHAVE_LIBGCRYPT) endif() |