diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-19 13:00:51 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-19 13:00:51 (GMT) |
commit | c7770b8edbff442267563bd3036cef8fdb0cc4a9 (patch) | |
tree | 1c73f377e04981e72043a9ac5fff8fef0eca343b /Modules/FindDCMTK.cmake | |
parent | b6b1ebe2950e2437fffd4eecbe3f1992fc63e812 (diff) | |
download | CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.zip CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.gz CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.bz2 |
ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the
not-too-complicated modules
-remove unnecessary default search paths used in the FIND_XXX() calls
Alex
Diffstat (limited to 'Modules/FindDCMTK.cmake')
-rw-r--r-- | Modules/FindDCMTK.cmake | 28 |
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)." ) |