Skip to content

Commit bb0dfaf

Browse files
committed
COMP: Remove ep_build_command additions
Fails in expansion of <BUILD_DIR>.
1 parent 8da0d27 commit bb0dfaf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ if(ITKPythonPackage_USE_TBB)
2929
)
3030
endif()
3131

32-
if(${CMAKE_GENERATOR} STREQUAL "Ninja")
33-
include(ProcessorCount)
34-
ProcessorCount(n_processors)
35-
set(ep_build_command BUILD_COMMAND ${CMAKE_COMMAND} --build <BUILD_DIR> -- -j${n_processors} -l${n_processors})
36-
endif()
37-
3832
if(ITKPythonPackage_SUPERBUILD)
3933

4034
#-----------------------------------------------------------------------------
@@ -123,7 +117,6 @@ if(ITKPythonPackage_SUPERBUILD)
123117
ExternalProject_add(oneTBB
124118
URL https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.9.0.tar.gz
125119
URL_HASH SHA256=1ce48f34dada7837f510735ff1172f6e2c261b09460e3bf773b49791d247d24e
126-
${ep_build_command}
127120
CMAKE_ARGS
128121
-DTBB_TEST:BOOL=OFF
129122
-DCMAKE_BUILD_TYPE:STRING=Release
@@ -272,7 +265,6 @@ if(ITKPythonPackage_SUPERBUILD)
272265

273266
ExternalProject_add(ITK
274267
DOWNLOAD_COMMAND ""
275-
${ep_build_command}
276268
SOURCE_DIR ${ITK_SOURCE_DIR}
277269
BINARY_DIR ${ITK_BINARY_DIR}
278270
PREFIX "ITKp"

0 commit comments

Comments
 (0)