Skip to content

Commit

Permalink
fix build cpp examples option (apache#14562)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored and haohuw committed Jun 23, 2019
1 parent 39b5465 commit f1d7ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp-package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit f1d7ad8

Please sign in to comment.