Skip to content

Commit

Permalink
geotag sample does not require ROOT_PROJECT/src to be included. Switc…
Browse files Browse the repository at this point in the history
…h for ROOT_PROJECT/include for <exiv2/exiv2.hpp>
  • Loading branch information
kamiccolo authored and neheb committed Jul 21, 2023
1 parent 643165f commit e7cea4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ if( EXPAT_FOUND )
${EXPAT_LIBRARIES}
)
target_include_directories(geotag PRIVATE ${CMAKE_BINARY_DIR}) # exv_conf.h
target_include_directories(geotag PRIVATE ${CMAKE_SOURCE_DIR}/include) # <exiv2/exiv2.hpp>
target_include_directories(geotag PRIVATE ${PROJECT_SOURCE_DIR}/include) # <exiv2/exiv2.hpp>
target_include_directories(geotag PRIVATE ${EXPAT_INCLUDE_DIR})
target_include_directories(geotag PRIVATE ${CMAKE_SOURCE_DIR}/src) # To find unused.h

if (WIN32)
target_compile_definitions(geotag PRIVATE XML_STATIC)
Expand Down

0 comments on commit e7cea4b

Please sign in to comment.