cmake_minimum_required (VERSION 2.6)

set (CMAKE_INSTALL_PREFIX "/usr/local/bin")
project (vcfx)

find_package( Boost REQUIRED COMPONENTS program_options regex )
include_directories( ${Boost_INCLUDE_DIRS} )

set (CMAKE_CXX_STANDARD 11)

add_executable(vcfx arlequin.cpp arlequin.hpp checkad.cpp checkad.hpp checkpl.cpp checkpl.hpp evidence.cpp evidence.hpp fasta.cpp fasta.hpp filter.cpp filter.hpp functions.cpp functions.hpp haploview.cpp haploview.hpp main.cpp statistics.cpp statistics.hpp ThreadPool.h external.hpp genepop.cpp genepop.hpp hard_filter.cpp hard_filter.hpp)
target_link_libraries(vcfx pthread)
