Boost detection fixup

This commit is contained in:
Guilhem Lavaux 2015-04-28 17:07:57 +02:00
parent 8f762f9732
commit b86b7a86b3
2 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,6 @@ SET(CosmoTool_SRCS
fortran.cpp
interpolate.cpp
load_data.cpp
loadGadget.cpp
loadRamses.cpp
powerSpectrum.cpp
miniargs.cpp
@ -12,6 +11,14 @@ SET(CosmoTool_SRCS
cic.cpp
)
IF (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
SET(CosmoTool_SRCS
${CosmoTool_SRCS}
loadGadget.cpp
)
ENDIF (Boost_FOUND)
IF (ENABLE_OPENMP)
ENDIF (ENABLE_OPENMP)

View File

@ -41,7 +41,7 @@ knowledge of the CeCILL license and that you accept its terms.
using namespace CosmoTool;
//#define LARGE_CONTROL
#define LITTLE_ENDIAN
//#define LITTLE_ENDIAN
#define NEW(t,n) ((t *)malloc(sizeof(t)*n))
#define SKIP(f) fread(&dummy,sizeof(dummy),1,f);