aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 10:05:07 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 10:05:07 +0200
commit228f50b8cb0e2bbd579cc8ae4f0a08e6d34af66e (patch)
tree1873be08f551dab1251331865d2754b28c43978f
parentfeaa43f37c01cf832fed17572d915e5709231893 (diff)
mini cleanup
-rw-r--r--lib/i2ctcp/CMakeLists.txt4
l---------lib/i2ctcp/lib1
-rw-r--r--lib/pbdrv/CMakeLists.txt2
l---------lib/pbdrv/lib1
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/i2ctcp/CMakeLists.txt b/lib/i2ctcp/CMakeLists.txt
index b47b1d7..956dcf7 100644
--- a/lib/i2ctcp/CMakeLists.txt
+++ b/lib/i2ctcp/CMakeLists.txt
@@ -6,9 +6,9 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
project(i2ctcp C CXX)
-add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack)
+add_subdirectory(lib/mpack)
-add_library(i2ctcp STATIC ./i2ctcpv1.c)
+add_library(i2ctcp STATIC i2ctcpv1.c)
target_link_libraries(i2ctcp mpack)
target_include_directories(i2ctcp SYSTEM INTERFACE .)
diff --git a/lib/i2ctcp/lib b/lib/i2ctcp/lib
new file mode 120000
index 0000000..58677dd
--- /dev/null
+++ b/lib/i2ctcp/lib
@@ -0,0 +1 @@
+../../lib \ No newline at end of file
diff --git a/lib/pbdrv/CMakeLists.txt b/lib/pbdrv/CMakeLists.txt
index e70cb5b..ca85b2b 100644
--- a/lib/pbdrv/CMakeLists.txt
+++ b/lib/pbdrv/CMakeLists.txt
@@ -10,7 +10,7 @@ add_compile_definitions(DEBUG)
project(pbdrv C CXX)
-add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack)
+add_subdirectory(lib/mpack)
# generic puzzle bus (de)serializer library
add_library(pbdrv STATIC pb-read.c pb-write.c)
diff --git a/lib/pbdrv/lib b/lib/pbdrv/lib
new file mode 120000
index 0000000..58677dd
--- /dev/null
+++ b/lib/pbdrv/lib
@@ -0,0 +1 @@
+../../lib \ No newline at end of file