fgerlits commented on code in PR #2304:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2304#discussion_r4563241021
##########
libminifi/test/unit/CMakeLists.txt:
##########
@@ -37,4 +37,11 @@ FOREACH(testfile ${UNIT_TESTS})
ENDFOREACH()
message("-- Finished building ${UNIT_TEST_COUNT} unit test file(s)...")
+if (NOT WIN32)
+ set_target_properties(BackTraceTests PROPERTIES ENABLE_EXPORTS ON)
+ if (APPLE)
+ target_link_options(BackTraceTests PRIVATE -rdynamic)
Review Comment:
I do want a CMake error if BackTraceTests is removed: then these lines
should be removed, too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]