Skip to content

Commit

Permalink
COMP: Fix lookup of DCMTK binaries for ctkDICOMApplicationTest1 on Wi…
Browse files Browse the repository at this point in the history
…ndows

Follow-up on commit 2583a4e ("Remove empty build command and set install
command empty.", 2014-11-04) which disabled the systematic installation of
DCMTK during the CTK superbuild.

This commit addresses the binary lookup issue for ctkDICOMApplicationTest1 on
Windows by ensuring that all configuration sub-directories are considered during
the lookup.
  • Loading branch information
jcfr committed Jan 13, 2024
1 parent 6da0cf5 commit a43da9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Applications/Testing/Cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ if(CTK_APP_ctkDICOMQuery AND CTK_APP_ctkDICOMRetrieve)
find_program(DCMTK_DCMQRSCP_EXECUTABLE dcmqrscp
PATHS
${DCMTK_DIR}/bin
PATH_SUFFIXES
${CMAKE_CONFIGURATION_TYPES}
NO_DEFAULT_PATH
)

find_program(DCMTK_STORESCU_EXECUTABLE storescu
PATHS
${DCMTK_DIR}/bin
PATH_SUFFIXES
${CMAKE_CONFIGURATION_TYPES}
NO_DEFAULT_PATH
)

Expand Down

0 comments on commit a43da9b

Please sign in to comment.