Boost detection fixup
This commit is contained in:
parent
8f762f9732
commit
b86b7a86b3
@ -3,7 +3,6 @@ SET(CosmoTool_SRCS
|
|||||||
fortran.cpp
|
fortran.cpp
|
||||||
interpolate.cpp
|
interpolate.cpp
|
||||||
load_data.cpp
|
load_data.cpp
|
||||||
loadGadget.cpp
|
|
||||||
loadRamses.cpp
|
loadRamses.cpp
|
||||||
powerSpectrum.cpp
|
powerSpectrum.cpp
|
||||||
miniargs.cpp
|
miniargs.cpp
|
||||||
@ -12,6 +11,14 @@ SET(CosmoTool_SRCS
|
|||||||
cic.cpp
|
cic.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF (Boost_FOUND)
|
||||||
|
include_directories(${Boost_INCLUDE_DIRS})
|
||||||
|
SET(CosmoTool_SRCS
|
||||||
|
${CosmoTool_SRCS}
|
||||||
|
loadGadget.cpp
|
||||||
|
)
|
||||||
|
ENDIF (Boost_FOUND)
|
||||||
|
|
||||||
IF (ENABLE_OPENMP)
|
IF (ENABLE_OPENMP)
|
||||||
ENDIF (ENABLE_OPENMP)
|
ENDIF (ENABLE_OPENMP)
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ knowledge of the CeCILL license and that you accept its terms.
|
|||||||
using namespace CosmoTool;
|
using namespace CosmoTool;
|
||||||
|
|
||||||
//#define LARGE_CONTROL
|
//#define LARGE_CONTROL
|
||||||
#define LITTLE_ENDIAN
|
//#define LITTLE_ENDIAN
|
||||||
|
|
||||||
#define NEW(t,n) ((t *)malloc(sizeof(t)*n))
|
#define NEW(t,n) ((t *)malloc(sizeof(t)*n))
|
||||||
#define SKIP(f) fread(&dummy,sizeof(dummy),1,f);
|
#define SKIP(f) fread(&dummy,sizeof(dummy),1,f);
|
||||||
|
Loading…
Reference in New Issue
Block a user