You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/16 16:49:43 UTC

[GitHub] larroy commented on a change in pull request #9456: [CMake] Add im2rec executable

larroy commented on a change in pull request #9456: [CMake] Add im2rec executable
URL: https://github.com/apache/incubator-mxnet/pull/9456#discussion_r161818129
 
 

 ##########
 File path: CMakeLists.txt
 ##########
 @@ -267,6 +267,8 @@ if(USE_OPENCV)
       set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")
     endif()
   endif()
+  add_executable(im2rec "tools/im2rec.cc")
+  target_link_libraries(im2rec mxnet_static ${OpenCV_LIBS} ${mxnet_LINKER_LIBS} dmlc)
 
 Review comment:
   Thanks, fixed. Anything else that catches your eye?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services