Skip to content

Commit 6eaa53b

Browse files
hjmjohnsonclaude
andcommitted
COMP: Add module include/ to search path for src/ targets
The CTest dashboard build does not automatically add the module's include/ directory to the compiler search path for the src/ library target. Without this, itkOpenSlideImageIOFactory.h is not found: fatal error: itkOpenSlideImageIOFactory.h: No such file or directory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e90ced6 commit 6eaa53b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set(IOOpenSlide_SRCS
33
itkOpenSlideImageIO.cxx
44
)
55

6+
include_directories("${IOOpenSlide_SOURCE_DIR}/include")
67
include_directories(${OPENSLIDE_INCLUDE_DIRS})
78

89
add_library(IOOpenSlide ${IOOpenSlide_SRCS})

0 commit comments

Comments
 (0)