Skip to content

Commit

Permalink
Merge pull request #2786 from SimonRit/ExpatInstall
Browse files Browse the repository at this point in the history
BUG: fix installation of the generated file expat_config.h
  • Loading branch information
thewtex authored Oct 8, 2021
2 parents 9cf2876 + 9b74f7b commit 69b7c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/ThirdParty/Expat/src/expat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ CONFIGURE_FILE(${ITK3P_EXPAT_SOURCE_DIR}/expatConfig.h.in
CONFIGURE_FILE(${ITK3P_EXPAT_SOURCE_DIR}/expatDllConfig.h.in
${ITK3P_EXPAT_BINARY_DIR}/expatDllConfig.h)

configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h")
configure_file(expat_config.h.cmake "${ITK3P_EXPAT_BINARY_DIR}/expat_config.h")

ADD_LIBRARY(ITKEXPAT ${expat_SRCS})

Expand All @@ -195,7 +195,7 @@ INSTALL(TARGETS ITKEXPAT
INSTALL(FILES
${ITK3P_EXPAT_BINARY_DIR}/expatDllConfig.h
${ITK3P_EXPAT_SOURCE_DIR}/expat.h
${ITK3P_EXPAT_SOURCE_DIR}/expat_config.h
${ITK3P_EXPAT_BINARY_DIR}/expat_config.h
${ITK3P_EXPAT_SOURCE_DIR}/itk_expat_mangle.h
DESTINATION ${ITK3P_INSTALL_INCLUDE_DIR} # TODO: itk_expat.h #include "itkexpat/expat.h"
COMPONENT Development)

0 comments on commit 69b7c4e

Please sign in to comment.