Skip to content

Commit

Permalink
Make lemon a submodule, and don't install it
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Sep 20, 2023
1 parent b09555e commit afa06f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "thirdparty/pybind11/pybind11"]
path = thirdparty/pybind11/pybind11
url = https://github.com/pybind/pybind11.git
[submodule "subprojects/lemon-1.3.1"]
path = subprojects/lemon-1.3.1
[submodule "subprojects/lemon"]
path = subprojects/lemon
url = https://github.com/Coloquinte/lemon
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ thread_dep = dependency('threads', required: true)
cmake =import('cmake')
cmake_opts = cmake.subproject_options()
cmake_opts.add_cmake_defines({'CMAKE_POSITION_INDEPENDENT_CODE': true})
lemon = cmake.subproject('lemon-1.3.1', options: cmake_opts)
cmake_opts.set_install(false)
lemon = cmake.subproject('lemon', options: cmake_opts)
lemon_dep = lemon.dependency('lemon')

sources = [
Expand Down

0 comments on commit afa06f4

Please sign in to comment.