Skip to content

Commit

Permalink
BUG: fix installation of the generated file expat_config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Oct 8, 2021
1 parent c2bf292 commit 9b74f7b
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 9b74f7b

Please sign in to comment.