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

15
external/base_external.cmake vendored Normal file
View file

@ -0,0 +1,15 @@
include(FindOpenMP)
OPTION(ENABLE_OPENMP "Set to Yes if Healpix and/or you need openMP" OFF)
OPTION(SDF_SUPPORT "Set to Yes to activate support for SDF" ON)
IF(ENABLE_OPENMP)
IF (NOT OPENMP_FOUND)
MESSAGE(FATAL_ERROR "No known compiler option for enabling OpenMP")
ENDIF(NOT OPENMP_FOUND)
ENDIF(ENABLE_OPENMP)
SET(BUILD_PREFIX ${CMAKE_BINARY_DIR}/ep_build)