NeoZhangJianyu commented on issue #14670: Default build with CMake not using MKL
URL: 
https://github.com/apache/incubator-mxnet/issues/14670#issuecomment-483160063
 
 
   @sl1pkn07 
   It's a warning, you could ignore it.
   
   Or fix it manually:
   
   Edit 3rdparty/mkldnn/cmake/utils.cmake:111:
   
   From
   
   ```
   function(target_link_libraries_build target list)
       # Foreach is required for compatibility with 2.8.11 ways
       foreach(lib ${list})
               target_link_libraries(${target}
               "$<BUILD_INTERFACE:${lib}>")
       endforeach(lib)
   endfunction()
   ```
   
   to
   
   ```
   function(target_link_libraries_build target list)
       # Foreach is required for compatibility with 2.8.11 ways
       foreach(lib ${list})
               target_link_libraries(${target} PUBLIC
               "$<BUILD_INTERFACE:${lib}>")
       endforeach(lib)
   endfunction()
   ```

----------------------------------------------------------------
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