Manage the USE_MANYLINUX options from base Coriolis.

This commit is contained in:
Jean-Paul Chaput 2023-07-03 20:08:49 +02:00
parent 5e5ae997f5
commit d9c9945897
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ if(NOT CMAKE_BUILD_PARALLEL_LEVEL)
math(EXPR CMAKE_BUILD_PARALLEL_LEVEL "${Ncpu}-1") math(EXPR CMAKE_BUILD_PARALLEL_LEVEL "${Ncpu}-1")
endif() endif()
set(USE_MANYLINUX ON)
set(CORIOLIS_TMP_INSTALL_DIR ${CMAKE_BINARY_DIR}/install) set(CORIOLIS_TMP_INSTALL_DIR ${CMAKE_BINARY_DIR}/install)
set(ENV{CORIOLIS_TOP} ${CORIOLIS_TMP_INSTALL_DIR}) set(ENV{CORIOLIS_TOP} ${CORIOLIS_TMP_INSTALL_DIR})
@ -20,6 +21,7 @@ cmake_minimum_required(VERSION ${CMAKE_VERSION})
project(build_${target}) project(build_${target})
set(USE_MANYLINUX ON)
find_package(Python 3 REQUIRED COMPONENTS Interpreter Development.Module) find_package(Python 3 REQUIRED COMPONENTS Interpreter Development.Module)
set(POETRY TRUE) # this will prevent looking for python site-packages directory set(POETRY TRUE) # this will prevent looking for python site-packages directory