Skip to content

Commit

Permalink
f:m
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed May 23, 2024
1 parent 9db7476 commit 9d4745f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ if (UNIX) # APPLE and LINUX
else()
set(PYTHON_INSTALL_CONFIG_HOST "")
set(PYTHON_INSTALL_CONFIG_BUILD "")
set(PYTHON_INSTALL_CONFIG_SSL "--with-openssl=${THIRD_PARTY_INSTALL_PATH} --with-openssl-rpath=auto")
set(PYTHON_INSTALL_CONFIG_SSL "--with-openssl=${THIRD_PARTY_INSTALL_PATH} --with-openssl-rpath=${THIRD_PARTY_INSTALL_PATH}")
set(CFS "CFLAGS=-I${THIRD_PARTY_INSTALL_PATH}/include")
set(LDS "LDFLAGS=-L${THIRD_PARTY_INSTALL_PATH}/lib")
endif()
Expand All @@ -163,7 +163,7 @@ if (UNIX) # APPLE and LINUX
URL https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tgz
PREFIX ${THIRD_PARTY_INSTALL_PATH}
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ${CFS} ${LDS} ./configure --prefix=<INSTALL_DIR> --enable-optimizations --with-ensurepip=install --enable-shared ${PYTHON_INSTALL_CONFIG_HOST} ${PYTHON_INSTALL_CONFIG_BUILD} ${PYTHON_INSTALL_CONFIG_SSL}
BUILD_COMMAND make -j12
BUILD_COMMAND ${CMAKE_COMMAND} -E env ${CFS} ${LDS} make -j12
INSTALL_COMMAND make install
BUILD_IN_SOURCE 1
)
Expand Down

0 comments on commit 9d4745f

Please sign in to comment.