Skip to content

Commit

Permalink
Merge pull request #17 from favreau/master
Browse files Browse the repository at this point in the history
Fixed ImageMagick dependency
  • Loading branch information
favreau committed Jul 26, 2016
2 parents b33f8d1 + eb5b280 commit 1e51cd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ common_find_package(vmmlib REQUIRED)

option(BRAYNS_IMAGEMAGICK_ENABLED "Activate IMAGEMAGICK library for standard image file format management" ON)
if(BRAYNS_IMAGEMAGICK_ENABLED)
common_find_package(Magick++)
common_find_package(Magick++ SYSTEM)
endif()

option(BRAYNS_ASSIMP_ENABLED "Activate assimp library for standard 3D file format management" ON)
Expand Down
4 changes: 4 additions & 0 deletions brayns/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ if(TARGET Brion)
list(APPEND BRAYNSIO_LINK_LIBRARIES Brion Brain)
endif()

if(MAGICK++_FOUND)
list(APPEND BRAYNSIO_LINK_LIBRARIES ${Magick++_LIBRARIES})
endif()

common_library(braynsIO)
4 changes: 0 additions & 4 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ if(TARGET Lexis AND TARGET ZeroEQ)
add_subdirectory(extensions/vocabulary)
endif()

if(MAGICK++_FOUND)
list(APPEND BRAYNSPLUGINS_LINK_LIBRARIES Magick++)
endif()

if(OSPRAY_FOUND)
add_subdirectory(engines/ospray)
list(APPEND BRAYNSPLUGINS_LINK_LIBRARIES PUBLIC braynsOSPRayPlugin)
Expand Down

0 comments on commit 1e51cd1

Please sign in to comment.