Commit cf4c6700 authored by jcfr's avatar jcfr
Browse files

COMP: EMSegment - Make sure EMSegment is build after EMSegment{Graph,...

COMP: EMSegment - Make sure EMSegment is build after EMSegment{Graph, Registration, Algorithm, MRML} and Volumes libraries

That should address the following issue:  http://www.cdash.org/CDash/viewBuildError.php?buildid=670245

git-svn-id: http://svn.slicer.org/Slicer4/trunk@14258 3bd1e089-480b-0410-8dfb-8563597acbee
parent 2bcb9be7
......@@ -669,6 +669,15 @@ if(Slicer3_BUILD_MODULES)
ADD_SUBDIRECTORY(Modules/EMSegment/Graph)
endif()
# Since EMSegment module expects Volume module and its associated library to be
# built beforehand,let's enfore that by building EMSegment here.
# Note that EMSegment has been commented in Modules/CMakeLists.txt
IF (Slicer3_USE_KWWIDGETS)
if(Slicer3_BUILD_MODULES)
ADD_SUBDIRECTORY(Modules/EMSegment)
endif()
ENDIF()
#-----------------------------------------------------------------------------
# Qt Loadable Modules
#
......
......@@ -70,7 +70,7 @@ SET(modules
# MRAblation <- not working either
ModelMirror
ModelTransform
EMSegment
# EMSegment # EMSegment is build from the top-level cmake
# DistanceTransformModel <- culled from slicer 3.6
ClipModel
Measurements
......
......@@ -15,6 +15,12 @@ if(NOT Slicer3_SOURCE_DIR)
slicer3_set_default_install_prefix_for_external_projects()
endif(NOT Slicer3_SOURCE_DIR)
find_package(GenerateLM REQUIRED)
if(GenerateLM_FOUND)
include(${GenerateLM_USE_FILE})
endif(GenerateLM_FOUND)
# --------------------------------------------------------------------------
# Include dirs
......
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