For example, I have modified the following section:
Code: Select all
# various CMake-specific settings
SET(CMAKE_USE_RELATIVE_PATHS ON)
SET(CMAKE_SUPPRESS_REGENERATION ON)
MARK_AS_ADVANCED(FORCE EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH)
SET(CMAKE_DEBUG_POSTFIX "_d")
I recommend that you guys maintain FindDCMTK.cmake and keep it in sync with your release of DCMTK. It will ease people's adoption of this library.