diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index c405285ebd..9163584955 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -78,6 +78,8 @@ if( EXPAT_FOUND ) exiv2-xmp ${EXPAT_LIBRARIES} ) + target_include_directories(geotag PRIVATE ${CMAKE_BINARY_DIR}) # exv_conf.h + target_include_directories(geotag PRIVATE ${CMAKE_SOURCE_DIR}/include) # target_include_directories(geotag PRIVATE ${EXPAT_INCLUDE_DIR}) target_include_directories(geotag PRIVATE ${CMAKE_SOURCE_DIR}/src) # To find unused.h