arpadboda commented on a change in pull request #538: MINIFICPP-17: Move 
processors to standard-processors in preparation for
URL: https://github.com/apache/nifi-minifi-cpp/pull/538#discussion_r277456637
 
 

 ##########
 File path: cmake/BuildTests.cmake
 ##########
 @@ -135,9 +135,25 @@ FOREACH(testfile ${NANOFI_UNIT_TESTS})
     get_filename_component(testfilename "${testfile}" NAME_WE)
     add_executable("${testfilename}" "${NANOFI_TEST_DIR}/${testfile}")
     target_include_directories(${testfilename} BEFORE PRIVATE 
"${CMAKE_SOURCE_DIR}/nanofi/include")
+    target_include_directories(${testfilename} BEFORE PRIVATE 
"${CMAKE_SOURCE_DIR}/extensions/standard-processors/")
+    target_include_directories(${testfilename} BEFORE PRIVATE 
"${CMAKE_SOURCE_DIR}/extensions/standard-processors/processors/")
     target_include_directories(${testfilename} BEFORE PRIVATE 
"${CMAKE_SOURCE_DIR}/libminifi/test")
     appendIncludes("${testfilename}")
     target_link_libraries(${testfilename} ${CMAKE_THREAD_LIBS_INIT} 
${CATCH_MAIN_LIB} nanofi)
+    
+    if (APPLE)
+    # minifi-standard-processors
+       target_link_libraries (${testfilename} -Wl,-all_load 
minifi-standard-processors nanofi)
+       elseif(NOT WIN32)
 
 Review comment:
   Could you fix indentation here?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to