Skip to content

Commit

Permalink
Merge pull request #677 from tpikonen/s2-cmake
Browse files Browse the repository at this point in the history
cmake: Add find_package() call for S2
  • Loading branch information
rinigus authored Jul 27, 2024
2 parents 40d1d21 + 9f1e312 commit 394386d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ elseif(FLAVOR STREQUAL "silica")
pkg_search_module(SAILFISH sailfishapp REQUIRED)
endif()

# s2
find_package(s2 REQUIRED)

# handle request for running from source dir
if(RUN_FROM_SOURCE)
set(DATADIR ${CMAKE_CURRENT_SOURCE_DIR})
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ target_link_libraries(${APP_NAME}
Qt5::Quick
Qt5::Positioning
Qt5::DBus
s2)
s2::s2)

set(LINKING_FLAVORS
"kirigami"
Expand Down

0 comments on commit 394386d

Please sign in to comment.