Skip to content

Commit

Permalink
ilastik-gui.cmake: Mac builds require py2app
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed Sep 20, 2013
1 parent 83bee06 commit 532c496
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ilastik-gui.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,19 @@ include (pyqt4)
include (qimage2ndarray)
include (vtk)

if (APPLE)
include (py2app)
endif()

set (ilastik-gui_NAME ${ilastik_NAME}-gui)

# Add a few dependencies to GUI ilastik build
add_dependencies( ${ilastik_NAME} ${qt4_NAME} ${pyqt4_NAME} ${qimage2ndarray_NAME} ${vtk_NAME} )

if (APPLE)
add_dependencies( ${ilastik_NAME} ${py2app_NAME} )
endif()

add_custom_target (${ilastik-gui_NAME} ALL
DEPENDS ${ilastik_NAME}
COMMENT "Building ilastik gui and all dependencies...")
Expand Down

0 comments on commit 532c496

Please sign in to comment.