Skip to content

Commit 9aa4665

Browse files
committed
Request examples_tests submodule update on NBL_BUILD_EXAMPLES only
1 parent 8da4b98 commit 9aa4665

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmake/common.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,8 +1392,10 @@ execute_process(COMMAND "${GIT_EXECUTABLE}" ${NBL_CONFIG_SETUP_CMD} submodule up
13921392
# NBL_WRAPPER_COMMAND_EXCLUSIVE("" ./ci TRUE "") TODO: enable it once we merge Ditt, etc
13931393

13941394
# examples and their media
1395-
NBL_WRAPPER_COMMAND_EXCLUSIVE("" ./examples_tests FALSE "")
1396-
NBL_WRAPPER_COMMAND_EXCLUSIVE(examples_tests ./media FALSE "")
1395+
if(NBL_BUILD_EXAMPLES)
1396+
NBL_WRAPPER_COMMAND_EXCLUSIVE("" ./examples_tests FALSE "")
1397+
NBL_WRAPPER_COMMAND_EXCLUSIVE(examples_tests ./media FALSE "")
1398+
endif()
13971399
endif()
13981400

13991401
file(WRITE "${_NBL_UPDATE_SUBMODULES_CMD_FILE_}" "${_NBL_UPDATE_SUBMODULES_COMMANDS_}")

0 commit comments

Comments
 (0)