Commit f8498bc2 authored by Andreas Kempe's avatar Andreas Kempe

Updated the makefile with correct library search.

parent 3fc531d5
project(mpi-mandel)
cmake_minimum_required(VERSION 2.8)
set(SRC main.cpp)
set(SERVER_SRC server/main.cpp server/mandelbrot.cpp)
add_executable(mpi-mandel ${SRC})
add_executable(mpi-mandel ${SERVER_SRC})
include_directories(/home/kempe/lib/include/ImageMagick-6)
link_directories(/home/kempe/lib/lib)
include_directories(/home/andkem/Program/imagemagick/include/ImageMagick-6)
find_library(Magick Magick++-6.Q16
/home/andkem/Program/imagemagick/lib64
/home/kempe/lib/lib)
set(CMAKE_C_COMPILER mpicc)
set(CMAKE_CXX_COMPILER mpicxx)
set(CMAKE_CXX_FLAGS "-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O3 -std=c++11")
target_link_libraries(mpi-mandel mpi Magick++-6.Q16)
target_link_libraries(mpi-mandel mpi ${Magick})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment