From 5bf6fd3977e4b56c66a8388f6b64d068f7a7e0b8 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 7 Aug 2019 16:28:39 -0700 Subject: [PATCH] on Linux, allow -DBUILD_SHARED_LIBS=ON to build when memory-debugging is enabled --- tools/nitpick/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/nitpick/CMakeLists.txt b/tools/nitpick/CMakeLists.txt index 6076f80c16..ee534ca24f 100644 --- a/tools/nitpick/CMakeLists.txt +++ b/tools/nitpick/CMakeLists.txt @@ -30,6 +30,8 @@ source_group("UI Files" FILES ${QT_UI_FILES}) # have qt5 wrap them and generate the appropriate header files qt5_wrap_ui(QT_UI_HEADERS "${QT_UI_FILES}") +setup_memory_debugger() + # add them to the nitpick source files set(NITPICK_SRCS ${NITPICK_SRCS} "${QT_UI_HEADERS}" "${QT_RESOURCES}")