Skip to content

Commit

Permalink
Merge topic 'fix-ITK-VNL-install-layout'
Browse files Browse the repository at this point in the history
a23c716 COMP: Fix ITK-VNL module header install locations
  • Loading branch information
bradking authored and kwrobot committed Mar 31, 2011
2 parents 37e174f + a23c716 commit 0466177
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ SUBDIRS(vcl v3p core)

# Standard include directories.
SET(VXLCORE_INCLUDE_DIR ${vxl_BINARY_DIR}/core ${vxl_SOURCE_DIR}/core)
SET(VXLCORE_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include/vxl/core)
SET(VCL_INCLUDE_DIR ${vxl_BINARY_DIR}/vcl ${vxl_SOURCE_DIR}/vcl)
SET(VCL_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include/vxl/vcl)

INCLUDE_DIRECTORIES(${VCL_INCLUDE_DIR} ${VXLCORE_INCLUDE_DIR})

Expand Down
2 changes: 1 addition & 1 deletion Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SET(global_sources
)

IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/core ${global_sources})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR} ${global_sources})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

# common test executable
Expand Down
2 changes: 1 addition & 1 deletion Modules/ThirdParty/VNL/src/vxl/core/vnl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ ADD_LIBRARY(itkvnl ${vnl_sources})
TARGET_LINK_LIBRARIES( itkvnl itkvcl )

IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/core/vnl ${vnl_sources})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/vnl ${vnl_sources})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

IF(ITK_LIBRARY_PROPERTIES)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ IF(NETLIB_FOUND)
ARCHIVE DESTINATION ${VXL_INSTALL_ARCHIVE_DIR} COMPONENT Development)
ENDIF(NOT VXL_INSTALL_NO_LIBRARIES)
IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/core/vnl/algo ${vnl_algo_sources})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/vnl/algo ${vnl_algo_sources})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

IF( BUILD_TESTING )
Expand Down
2 changes: 1 addition & 1 deletion Modules/ThirdParty/VNL/src/vxl/v3p/netlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ IF(NOT VXL_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${VXL_INSTALL_ARCHIVE_DIR} COMPONENT Development)
ENDIF(NOT VXL_INSTALL_NO_LIBRARIES)
IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/v3p/netlib ${v3p_netlib_sources})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR} ${v3p_netlib_sources})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

SUBDIRS(linalg)
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ IF(NOT VXL_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${VXL_INSTALL_ARCHIVE_DIR} COMPONENT Development)
ENDIF(NOT VXL_INSTALL_NO_LIBRARIES)
IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/v3p/netlib ${V3P_NETLIB_lsqr_SOURCES})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR} ${V3P_NETLIB_lsqr_SOURCES})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)
2 changes: 1 addition & 1 deletion Modules/ThirdParty/VNL/src/vxl/vcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ IF(NOT VXL_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${VXL_INSTALL_ARCHIVE_DIR} COMPONENT Development)
ENDIF(NOT VXL_INSTALL_NO_LIBRARIES)
IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR}/vcl ${vcl_sources})
INSTALL_NOBASE_HEADER_FILES(${VXL_INSTALL_INCLUDE_DIR} ${vcl_sources})
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

# INCLUDE( ${vxl_SOURCE_DIR}/vcl/LinkSTLPort.cmake )
Expand Down
2 changes: 1 addition & 1 deletion Modules/ThirdParty/VNL/src/vxl/vcl/vcl_sys/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IF(NOT VXL_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VXL_INSTALL_INCLUDE_DIR}/vcl/vcl_sys "(\\.h|\\.txx)$")
INSTALL_FILES(${VXL_INSTALL_INCLUDE_DIR}/vcl_sys "(\\.h|\\.txx)$")
ENDIF(NOT VXL_INSTALL_NO_DEVELOPMENT)

0 comments on commit 0466177

Please sign in to comment.