File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -125,21 +125,21 @@ include(CheckCXXCompilerFlag)
125125include (${ZEPHYR_BASE} /cmake/extensions.cmake)
126126include (${ZEPHYR_BASE} /cmake/version .cmake) # depends on hex.cmake
127127
128- #
129- # Find tools
130- #
131-
132- include (${ZEPHYR_BASE} /cmake/python.cmake)
133- include (${ZEPHYR_BASE} /cmake/git.cmake) # depends on version.cmake
134- include (${ZEPHYR_BASE} /cmake/ccache.cmake)
135-
136128if (${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR} )
137129 message (FATAL_ERROR "Source directory equals build directory.\
138130 In-source builds are not supported.\
139131 Please specify a build directory, e.g. cmake -Bbuild -H." )
140132endif ()
141133
142134if (FIRST_BOILERPLATE_EXECUTION)
135+ #
136+ # Find tools
137+ #
138+
139+ include (${ZEPHYR_BASE} /cmake/python.cmake)
140+ include (${ZEPHYR_BASE} /cmake/git.cmake) # depends on version.cmake
141+ include (${ZEPHYR_BASE} /cmake/ccache.cmake)
142+
143143 add_custom_target (
144144 pristine
145145 COMMAND ${CMAKE_COMMAND} -P ${ZEPHYR_BASE} /cmake/pristine.cmake
You can’t perform that action at this time.
0 commit comments