Skip to content

Commit

Permalink
Removed redundant include directories and installation commands. Also…
Browse files Browse the repository at this point in the history
… changed

the way version dependent documentation files are installed.
  • Loading branch information
Joerg Riesmeier committed Nov 25, 2010
1 parent 6bd30e1 commit ab9142f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGES.355
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

Changes between releases are documented here.

**** Changes from 2010.11.25 (riesmeier)

- Removed redundant include directories and installation commands. Also changed
the way version dependent documentation files are installed.
Affects: CMakeLists.txt

**** Changes from 2010.11.24 (riesmeier)

- Output a warning message when decompressing a JPEG compressed image with
Expand Down
21 changes: 3 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,11 @@ SET(DCMTK_INCLUDE_DIR
${DCMTK_SOURCE_DIR}/dcmjpls/include
${DCMTK_SOURCE_DIR}/dcmnet/include
${DCMTK_SOURCE_DIR}/dcmpstat/include
${DCMTK_SOURCE_DIR}/dcmsr/include
${DCMTK_SOURCE_DIR}/dcmqrdb/include
${DCMTK_SOURCE_DIR}/dcmsign/include
${DCMTK_SOURCE_DIR}/dcmwlm/include
${DCMTK_SOURCE_DIR}/dcmtls/include
${DCMTK_SOURCE_DIR}/dcmnet/include
${DCMTK_SOURCE_DIR}/dcmqrdb/include
${DCMTK_SOURCE_DIR}/dcmsign/include
${DCMTK_SOURCE_DIR}/dcmsr/include
${DCMTK_SOURCE_DIR}/dcmtls/include
${DCMTK_SOURCE_DIR}/dcmwlm/include
${DCMTK_SOURCE_DIR}/dcmpstat/include
)
INCLUDE_DIRECTORIES(${DCMTK_INCLUDE_DIR})

Expand Down Expand Up @@ -264,7 +258,7 @@ CONFIGURE_FILE(${DCMTK_SOURCE_DIR}/CMake/osconfig.h.in
# Thread support
#-----------------------------------------------------------------------------

# See dcmtk-3.5.4/config/configure.in
# See dcmtk/config/configure.in
IF(WITH_THREADS)
ADD_DEFINITIONS(-D_REENTRANT)
IF(HAVE_PTHREAD_RWLOCK)
Expand Down Expand Up @@ -305,13 +299,4 @@ ENDFOREACH(module)
INSTALL_FILES(${INSTALL_INCDIR}/dcmtk/config FILES ${CMAKE_CURRENT_BINARY_DIR}/include/dcmtk/config/osconfig.h)

# Install DCMTK's general documentation files
INSTALL_FILES(${INSTALL_DOCDIR} FILES COPYRIGHT FAQ HISTORY VERSION ANNOUNCE.355 CHANGES.355)

# Install headers and static libraries
FOREACH(lib ${DCMTK_LIBS})
FILE(GLOB headers_to_install "${CMAKE_CURRENT_SOURCE_DIR}/${lib}/include/dcmtk/${lib}/*.h")
INSTALL(FILES
${headers_to_install}
DESTINATION ${DCMTK_INSTALL_INCLUDE_DIR}/dcmtk/${lib} COMPONENT Development
)
ENDFOREACH(lib)
INSTALL_FILES(${INSTALL_DOCDIR} FILES ANNOUNCE.${DCMTK_PACKAGE_VERSION_NUMBER} CHANGES.${DCMTK_PACKAGE_VERSION_NUMBER} COPYRIGHT FAQ HISTORY VERSION)

0 comments on commit ab9142f

Please sign in to comment.