aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-12-06 21:49:25 +0000
committerVaxry <[email protected]>2023-12-06 23:31:04 +0000
commit9b61def87e4b39c932f494c20130175fdc3803ab (patch)
treeaaa5917cc329e44ebc20f7d5633a39c221fccd19
parentc8ef1ec26ba8686642484b565c07107f82efea8d (diff)
downloadHyprland-9b61def87e4b39c932f494c20130175fdc3803ab.tar.gz
Hyprland-9b61def87e4b39c932f494c20130175fdc3803ab.zip
move tomlpp to a dep
-rw-r--r--.gitmodules5
-rw-r--r--hyprpm/CMakeLists.txt2
m---------hyprpm/subprojects/tomlpp0
3 files changed, 3 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
index cdb427c7..aa8aa987 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -9,7 +9,4 @@
url = https://github.com/canihavesomecoffee/udis86
[submodule "subprojects/tracy"]
path = subprojects/tracy
- url = https://github.com/wolfpld/tracy
-[submodule "hyprpm/subprojects/tomlpp"]
- path = hyprpm/subprojects/tomlpp
- url = https://github.com/marzer/tomlplusplus
+ url = https://github.com/wolfpld/tracy \ No newline at end of file
diff --git a/hyprpm/CMakeLists.txt b/hyprpm/CMakeLists.txt
index 038a38a7..976977fa 100644
--- a/hyprpm/CMakeLists.txt
+++ b/hyprpm/CMakeLists.txt
@@ -9,5 +9,7 @@ file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
set(CMAKE_CXX_STANDARD 23)
+pkg_check_modules(deps REQUIRED IMPORTED_TARGET tomlplusplus)
+
add_executable(hyprpm ${SRCFILES})
target_include_directories(hyprpm PUBLIC "." "subprojects/tomlpp/include")
diff --git a/hyprpm/subprojects/tomlpp b/hyprpm/subprojects/tomlpp
deleted file mode 160000
-Subproject d8fa9a1fddc90254cac2366dde23f0b613bc128