summaryrefslogtreecommitdiff
path: root/view/sharedcache/workflow
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/workflow')
-rw-r--r--view/sharedcache/workflow/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/sharedcache/workflow/CMakeLists.txt b/view/sharedcache/workflow/CMakeLists.txt
index 81e4498c..7648492a 100644
--- a/view/sharedcache/workflow/CMakeLists.txt
+++ b/view/sharedcache/workflow/CMakeLists.txt
@@ -5,7 +5,11 @@ file(GLOB SOURCES *.cpp *.h)
add_library(sharedcacheworkflow OBJECT ${SOURCES})
if (VIEW_NAME)
- target_compile_definitions(sharedcacheworkflow PRIVATE VIEW_NAME="${VIEW_NAME}")
+ if (BN_REF_COUNT_DEBUG)
+ target_compile_definitions(sharedcacheworkflow PRIVATE VIEW_NAME="${VIEW_NAME}" BN_REF_COUNT_DEBUG)
+ else()
+ target_compile_definitions(sharedcacheworkflow PRIVATE VIEW_NAME="${VIEW_NAME}")
+ endif()
else()
error("VIEW_NAME must be defined")
endif()
@@ -38,6 +42,8 @@ function(get_recursive_include_dirs target result)
set(${result} ${include_dirs} PARENT_SCOPE)
endfunction()
+message(STATUS "RCD: ${BN_REF_COUNT_DEBUG}")
+
get_recursive_include_dirs(binaryninjaapi INCLUDES)
target_include_directories(sharedcacheworkflow