https://github.com/ntamas/plfit
Tip revision: 63024a101d31e1406ecd49e3b856303046b7ff56 authored by Tamas Nepusz on 23 February 2011, 15:46:26 UTC
xmin can now be specified explicitly
xmin can now be specified explicitly
Tip revision: 63024a1
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(plfit C CXX)
option(PLFIT_COMPILE_PYTHON_MODULE
"Whether we want to compile the Python module (requires SWIG)"
OFF)
option(PLFIT_USE_SSE
"Use SSE/SSE2 optimizations if available"
ON)
# Check for required headers
include(CheckIncludeFiles)
check_include_files(emmintrin.h HAVE_EMMINTRIN_H)
check_include_files(malloc.h HAVE_MALLOC_H)
add_definitions(-Wall -DHAVE_CONFIG_H)
if(PLFIT_USE_SSE)
add_definitions(-DUSE_SSE)
endif(PLFIT_USE_SSE)
add_subdirectory(src)