You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by wk...@apache.org on 2019/04/03 00:52:18 UTC

[incubator-mxnet] branch master updated: fix build cpp examples option (#14562)

This is an automated email from the ASF dual-hosted git repository.

wkcn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 214ce63  fix build cpp examples option (#14562)
214ce63 is described below

commit 214ce63f44e83bb69386f094f2ec13ac95ff12ba
Author: nihui <sh...@126.com>
AuthorDate: Wed Apr 3 08:52:02 2019 +0800

    fix build cpp examples option (#14562)
---
 cpp-package/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp-package/CMakeLists.txt b/cpp-package/CMakeLists.txt
index 5d29772..fec86e7 100644
--- a/cpp-package/CMakeLists.txt
+++ b/cpp-package/CMakeLists.txt
@@ -16,7 +16,7 @@ if(USE_CPP_PACKAGE)
     WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/scripts
   )
 
-  if(NOT DO_NOT_BUILD_EXAMPLES)
+  if(BUILD_CPP_EXAMPLES)
     add_subdirectory(example)
   endif()