ADD_LIBRARY(JFJochBraggPrediction STATIC
        BraggPrediction.cpp
        BraggPrediction.h
        BraggPredictionFactory.cpp
        BraggPredictionFactory.h
        BraggPredictionRot.cpp
        BraggPredictionRot.h
)

TARGET_LINK_LIBRARIES(JFJochBraggPrediction JFJochCommon)

IF (JFJOCH_CUDA_AVAILABLE)
    TARGET_SOURCES(JFJochBraggPrediction PRIVATE
            ../indexing/CUDAMemHelpers.h
            BraggPredictionGPU.cu BraggPredictionGPU.h
    BraggPredictionRotGPU.cu BraggPredictionRotGPU.h)
ENDIF()
