summaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 22:43:23 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 22:43:23 +0100
commited4f331bc96b4abb711c5b47c969d5ecb3166e15 (patch)
tree9c16e5828fed25aa5da10ab4f6ef2aad5243978d /example
parent86e7686916a063082111be1b4831c201f24f8adf (diff)
feat: fix CMake example, update free functions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example')
-rw-r--r--example/fix_tag_example/CMakeLists.txt8
-rw-r--r--example/fix_tag_example/example.cpp (renamed from example/fix_tag_example/example.cc)0
2 files changed, 4 insertions, 4 deletions
diff --git a/example/fix_tag_example/CMakeLists.txt b/example/fix_tag_example/CMakeLists.txt
index b9a80db..57bec7a 100644
--- a/example/fix_tag_example/CMakeLists.txt
+++ b/example/fix_tag_example/CMakeLists.txt
@@ -1,4 +1,4 @@
-
+# AMLALE: Hm?
cmake_minimum_required(VERSION 3.15...3.31)
project(
@@ -6,10 +6,10 @@ project(
VERSION 1.0
LANGUAGES CXX)
-find_package(Boost REQUIRED COMPONENTS container)
+find_package(Boost REQUIRED)
-add_executable(FixExample example.cc)
+add_executable(FixExample example.cpp)
set_property(TARGET FixExample PROPERTY CXX_STANDARD 20)
target_include_directories(FixExample PUBLIC ../../include/ocl)
-target_link_libraries(FixExample PRIVATE Boost::container)
+target_link_libraries(FixExample PRIVATE Boost)
diff --git a/example/fix_tag_example/example.cc b/example/fix_tag_example/example.cpp
index f7f3e76..f7f3e76 100644
--- a/example/fix_tag_example/example.cc
+++ b/example/fix_tag_example/example.cpp