File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ include(ExternalProject)
88if (UNIX )
99 ExternalProject_Add (nodejs
1010 URL https://github.com/nodejs/node/archive/refs/tags/v${CMAKE_PROJECT_VERSION} .tar.gz
11- CONFIGURE_COMMAND echo '\#undef HAVE_SYS_RANDOM_H' >> <SOURCE_DIR>/deps/cares/config/linux/ares_config.h
12- COMMAND echo '\#undef HAVE_GETRANDOM' >> <SOURCE_DIR>/deps/cares/config/linux/ares_config.h
11+ CONFIGURE_COMMAND "echo >> <SOURCE_DIR>/deps/cares/config/linux/ares_config.h"
12+ COMMAND "echo #undef HAVE_SYS_RANDOM_H >> <SOURCE_DIR>/deps/cares/config/linux/ares_config.h"
13+ COMMAND "echo #undef HAVE_GETRANDOM >> <SOURCE_DIR>/deps/cares/config/linux/ares_config.h"
1314 COMMAND <SOURCE_DIR >/configure --prefix =${SKBUILD_PLATLIB_DIR} /nodejs_wheel
1415 BUILD_IN_SOURCE 1
1516 BUILD_COMMAND make -j${N}
You can’t perform that action at this time.
0 commit comments