Skip to content

Commit

Permalink
Use CONFIG mode for CMake, fall back to MODULE (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed authored Nov 3, 2023
1 parent ec950c9 commit 988c770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ ENDIF ()

find_package(Boost 1.66 REQUIRED COMPONENTS system filesystem program_options iostreams)

set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
find_package(Protobuf REQUIRED)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG OFF)

find_package(libshp REQUIRED)

Expand Down

0 comments on commit 988c770

Please sign in to comment.