From 9d78ae637ec41f937611ab38d7c31b1072a77acf Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Sat, 11 Oct 2025 21:16:11 +0200 Subject: [PATCH] updated the cmake file --- CMakeLists.txt | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20ebf51..d0baf4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,22 +1,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.12) -# Set the project name -PROJECT(synf) +PROJECT(synf-core) -# Find curl package -find_package(CURL REQUIRED) - -# add the executable ADD_EXECUTABLE(main source/main.c source/lib.c ) -TARGET_LINK_LIBRARIES(main PRIVATE CURL::libcurl) +ADD_EXECUTABLE(source/main.c source/lib.c) TARGET_INCLUDE_DIRECTORIES(main PRIVATE source/lib/osx source/lib/linux) - source/main.c - source/lib.c -) - -target_include_directories(main PRIVATE source/lib/osx)