summaryrefslogtreecommitdiffstats
path: root/Modules/FindDCMTK.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindDCMTK.cmake')
-rw-r--r--Modules/FindDCMTK.cmake28
1 files changed, 14 insertions, 14 deletions
diff --git a/Modules/FindDCMTK.cmake b/Modules/FindDCMTK.cmake
index 2a26334..5a35d24 100644
--- a/Modules/FindDCMTK.cmake
+++ b/Modules/FindDCMTK.cmake
@@ -74,13 +74,13 @@ ${DCMTK_DIR}/dcmnet/libsrc/
)
-IF( DCMTK_config_INCLUDE_DIR )
-IF( DCMTK_ofstd_INCLUDE_DIR )
-IF( DCMTK_ofstd_LIBRARY )
-IF( DCMTK_dcmdata_INCLUDE_DIR )
-IF( DCMTK_dcmdata_LIBRARY )
-IF( DCMTK_dcmimgle_INCLUDE_DIR )
-IF( DCMTK_dcmimgle_LIBRARY )
+IF( DCMTK_config_INCLUDE_DIR
+ AND DCMTK_ofstd_INCLUDE_DIR
+ AND DCMTK_ofstd_LIBRARY
+ AND DCMTK_dcmdata_INCLUDE_DIR
+ AND DCMTK_dcmdata_LIBRARY
+ AND DCMTK_dcmimgle_INCLUDE_DIR
+ AND DCMTK_dcmimgle_LIBRARY )
SET( DCMTK_FOUND "YES" )
SET( DCMTK_INCLUDE_DIR
@@ -115,13 +115,13 @@ IF( DCMTK_dcmimgle_LIBRARY )
SET( DCMTK_LIBRARIES ${DCMTK_LIBRARIES} netapi32 )
ENDIF( WIN32 )
-ENDIF( DCMTK_dcmimgle_LIBRARY )
-ENDIF( DCMTK_dcmimgle_INCLUDE_DIR )
-ENDIF( DCMTK_dcmdata_LIBRARY )
-ENDIF( DCMTK_dcmdata_INCLUDE_DIR )
-ENDIF( DCMTK_ofstd_LIBRARY )
-ENDIF( DCMTK_ofstd_INCLUDE_DIR )
-ENDIF( DCMTK_config_INCLUDE_DIR )
+ENDIF( DCMTK_config_INCLUDE_DIR
+ AND DCMTK_ofstd_INCLUDE_DIR
+ AND DCMTK_ofstd_LIBRARY
+ AND DCMTK_dcmdata_INCLUDE_DIR
+ AND DCMTK_dcmdata_LIBRARY
+ AND DCMTK_dcmimgle_INCLUDE_DIR
+ AND DCMTK_dcmimgle_LIBRARY )
IF( NOT DCMTK_FOUND )
SET( DCMTK_DIR "" CACHE PATH "Root of DCMTK source tree (optional)." )