Provide the just-built cython to cosmotool. Forced to reorganize the order of the call to ExternalProject

This commit is contained in:
Guilhem Lavaux 2018-07-20 08:48:54 +03:00
parent 63c7757662
commit b5e3086801
5 changed files with 60 additions and 32 deletions

View file

@ -63,8 +63,10 @@ macro(configure_exec _source _destdir _destfile)
endmacro(configure_exec)
include(${CMAKE_SOURCE_DIR}/external/base_external.cmake)
include(${CMAKE_SOURCE_DIR}/external/external_build.cmake)
include(${CMAKE_SOURCE_DIR}/external/external_python_build.cmake)
include(${CMAKE_SOURCE_DIR}/external/external_cosmotool.cmake)
SET(PYTHONPATH ${PYTHON_LOCAL_SITE_PACKAGE})
configure_exec(${CMAKE_SOURCE_DIR}/run_python.sh.in ${CMAKE_BINARY_DIR} run_python.sh)