Skip to content

Commit

Permalink
macOS fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Apr 11, 2024
1 parent 9cb51a6 commit df47d1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/Modules/BuildPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if(APPLE)

set( Python_CONFIGURE ${CMAKE_COMMAND} -E env "CFLAGS=${Python_C_FLAGS}" "CPPFLAGS=${Python_C_FLAGS}" "CXXFLAGS=${Python_CXX_FLAGS}" "LDFLAGS=${Python_LD_FLAGS}" -- ${CMAKE_CURRENT_BINARY_DIR}/configure-macos-python.sh --prefix=${CMAKE_INSTALL_PREFIX}
)
set( Python_BUILD )
set( Python_BUILD make -j ${NPROCS} )
set( Python_INSTALL make -j ${NPROCS} install )

elseif(UNIX)
Expand Down
1 change: 0 additions & 1 deletion etc/configure-macos-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
echo "Running Python macOS configure"
#./configure --enable-optimizations --with-openssl=$(brew --prefix openssl) --with-system-ffi --with-ensurepip=install $*
./configure \
--enable-optimizations \
--enable-optimizations \
--enable-shared \
--with-openssl=$(brew --prefix openssl) \
Expand Down

0 comments on commit df47d1b

Please sign in to comment.