An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit d35cbd22 authored by jcfr's avatar jcfr
Browse files

STYLE: Remove extra IF() statement in CLI CMakeLists.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15429 3bd1e089-480b-0410-8dfb-8563597acbee
parent 252a72b2
......@@ -11,9 +11,8 @@ if(NOT Slicer_SOURCE_DIR)
endif(NOT Slicer_SOURCE_DIR)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
include_directories(${DicomToNrrdConverter_SOURCE_DIR})
include_directories(${DicomToNrrdConverter_BINARY_DIR})
......
project(ResampleDTI)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
......
......@@ -9,9 +9,8 @@ project( dwiNoiseFilter )
#)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
link_directories(${ModuleDescriptionParser_BINARY_DIR})
......
......@@ -9,9 +9,8 @@ project( dwiUNLM )
#)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
link_directories(${ModuleDescriptionParser_BINARY_DIR})
......
......@@ -9,9 +9,8 @@ project( jointLMMSE )
#)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
link_directories(${ModuleDescriptionParser_BINARY_DIR})
......
......@@ -24,9 +24,8 @@ include(${SLICERLIBCURL_USE_FILE})
#
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
#
# Set and generate source
......
......@@ -4,9 +4,8 @@
include_regular_expression("^.*$")
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
include_directories(${Slicer_SOURCE_DIR}/Applications/CLI)
include_directories(${Slicer_BINARY_DIR}/Applications/CLI)
......
project( Realign )
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
link_directories(${ModuleDescriptionParser_BINARY_DIR} ${vtkTeem_LIB_DIR})
......
project(RobustStatisticsSegmentation)
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
# copied from Peter's code, but I don't know if I need this line
link_directories(${ModuleDescriptionParser_BINARY_DIR})
......
project( SparseFieldLevelSetContour )
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
link_directories(${ModuleDescriptionParser_BINARY_DIR} ${vtkTeem_LIB_DIR})
......
......@@ -4,9 +4,8 @@
include_regular_expression("^.*$")
find_package(GenerateCLP REQUIRED)
if(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
endif(GenerateCLP_FOUND)
include(${GenerateCLP_USE_FILE})
include_directories(${Slicer_SOURCE_DIR}/Applications/CLI)
include_directories(${Slicer_BINARY_DIR}/Applications/CLI)
......
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