summaryrefslogtreecommitdiff
path: root/lib/libjsonpb/CMakeLists.txt
diff options
context:
space:
mode:
authorJacek Kryszyn <j.kryszyn@samsung.com>2024-04-26 15:52:40 +0200
committerJacek Kryszyn <j.kryszyn@samsung.com>2024-04-29 08:41:12 +0200
commit46fdfbb5b48bcfa77c2db727b45711b54f6c6484 (patch)
tree4fab489cef881dd5ab2cf8e1af2e84d633ef383c /lib/libjsonpb/CMakeLists.txt
parentdafd42755eaf4c098085f024ebc57cc076dc464a (diff)
downloaddynpart-tools-46fdfbb5b48bcfa77c2db727b45711b54f6c6484.tar.gz
dynpart-tools-46fdfbb5b48bcfa77c2db727b45711b54f6c6484.tar.bz2
dynpart-tools-46fdfbb5b48bcfa77c2db727b45711b54f6c6484.zip
Fix cmake & add rpm packaging
CMake minimum requirement is lowered to the actually lowest possible version. spec file is added to allow rpm packaging. Meson build files removed since they are unnecessary and cause problems with different compilers. Change-Id: I3aab2ebdbb12d2aea6965454d4024a0fec731c09
Diffstat (limited to 'lib/libjsonpb/CMakeLists.txt')
-rw-r--r--lib/libjsonpb/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libjsonpb/CMakeLists.txt b/lib/libjsonpb/CMakeLists.txt
index 0f1dc78..52fa1d3 100644
--- a/lib/libjsonpb/CMakeLists.txt
+++ b/lib/libjsonpb/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.22)
+cmake_minimum_required(VERSION 3.11.0)
project(libjsonpb VERSION 1.0.0 DESCRIPTION "ext4_utils")
@@ -16,8 +16,3 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
target_compile_options(libjsonpb PRIVATE -std=c++17)
-
-#cd ../libjsonpb
-#$CC -std=c++17 -I../include -Iparse/include ${CFLAGS} -c parse/jsonpb.cpp
-#$AR rcs ../lib/libjsonpbparse.a *.o
-#rm -r *.o \ No newline at end of file