Skip to content

Commit c3b2c47

Browse files
hjmjohnsonclaude
andcommitted
COMP: Add build directory to include path for export header
The module export header IOOpenSlideExport.h is generated by CMake in the build directory (CMAKE_CURRENT_BINARY_DIR). The CTest dashboard build does not automatically add this to the include path, causing: fatal error: IOOpenSlideExport.h: No such file or directory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6e5e51b commit c3b2c47

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
@@ -4,6 +4,7 @@ set(IOOpenSlide_SRCS
44
)
55

66
include_directories("${IOOpenSlide_SOURCE_DIR}/include")
7+
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
78
include_directories(${OPENSLIDE_INCLUDE_DIRS})
89

910
add_library(IOOpenSlide ${IOOpenSlide_SRCS})

0 commit comments

Comments
 (0)