cmake_minimum_required(VERSION 3.0)
project(BPModule CXX)


list(APPEND BPMODULE_CORE_CXX_FLAGS "-std=c++11")
list(APPEND BPMODULE_CORE_CXX_FLAGS "-Wall")
list(APPEND BPMODULE_CORE_CXX_FLAGS "-fPIC")
list(APPEND BPMODULE_CORE_CXX_INCLUDES "${CMAKE_SOURCE_DIR}")

list(APPEND BPMODULE_CXX_FLAGS "-std=c++11")
list(APPEND BPMODULE_CXX_FLAGS "-Wall")
list(APPEND BPMODULE_CXX_INCLUDES "${CMAKE_SOURCE_DIR}")

add_subdirectory(BPModule)


cmake_minimum_required(VERSION 3.0)
project(BPModule CXX)


set(BPMODULE_CXX_FLAGS "-std=c++11" "-Wall" "-pedantic")
set(BPMODULE_CXX_INCLUDES "${CMAKE_SOURCE_DIR}")
set(BPMODULE_CXX_LINK_FLAGS "")


find_package(OpenMP)
if(OPENMP_FOUND)
  list(APPEND BPMODULE_CXX_FLAGS "${OpenMP_CXX_FLAGS}")
  list(APPEND BPMODULE_CXX_LINK_FLAGS "${OpenMP_CXX_FLAGS}")
else()
  message(FATAL_ERROR "Error - OpenMP is required!")
endif()

add_subdirectory(BPModule)


Rework cmake files part 2
Rework cmake files part 2
