Skip to content

Commit

Permalink
Merge pull request #302 from sikmir/fix-build-without-geoimage
Browse files Browse the repository at this point in the history
Fix build with GEOIMAGE=0
  • Loading branch information
Krakonos authored Sep 9, 2024
2 parents 17374e7 + ff11bb2 commit 6cce9e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ src/Docks/MinimumRelationProperties.ui
src/Docks/PropertiesDock.h
src/Docks/DirtyDock.h
src/Docks/StyleDock.cpp
src/Docks/GeoImageDock.cpp
src/Docks/DirtyDock.ui
src/Docks/GeoImageDock.h
src/Docks/MDockAncestor.cpp
src/Docks/MinimumTrackPointProperties.ui
src/Docks/StyleDock.h
Expand Down Expand Up @@ -507,6 +505,7 @@ endif()

if (GEOIMAGE)
list(APPEND PKGCONFIG_REQUIRED_LIBS exiv2)
list(APPEND merkaartor_SRCS src/Docks/GeoImageDock.cpp src/Docks/GeoImageDock.h)
add_definitions(-DGEOIMAGE=1)
endif()

Expand Down

0 comments on commit 6cce9e1

Please sign in to comment.