project(TranDetection) find_package (OpenMP REQUIRED) file(GLOB_RECURSE cpp_files ./src/*.cpp) add_library(TranDetection SHARED ${cpp_files} ) target_include_directories(TranDetection PRIVATE ./src) target_link_libraries(TranDetection PRIVATE OpenMP::OpenMP_CXX fftw3f) target_compile_options(TranDetection PRIVATE ${OpenMP_CXX_FLAGS} -march=native) set_target_properties(TranDetection PROPERTIES PUBLIC_HEADER ${CMAKE_CURRENT_LIST_DIR}/src/calculateBankDetectAndHilbertTransformation.hpp)