This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository eshell.
View the commit online.
commit 102fda06fa927bd42fb6a8466594799806b81193
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Sat Oct 19 18:03:39 2024 -0400
Fix CMake structure
---
CMakeLists.txt | 4 +++-
eshell/CMakeLists.txt | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 900c859..66a9060 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 3.15)
-include(eshell/CMakeLists.txt)
+project(Escript)
+
+add_subdirectory(eshell)
diff --git a/eshell/CMakeLists.txt b/eshell/CMakeLists.txt
index bad0d40..5952a95 100644
--- a/eshell/CMakeLists.txt
+++ b/eshell/CMakeLists.txt
@@ -7,7 +7,7 @@ find_package(PkgConfig)
pkg_check_modules(EFL REQUIRED efl ecore)
add_executable(Eshell
- eshell/src/main.c)
+ src/main.c)
set_target_properties(Eshell PROPERTIES OUTPUT_NAME "eshell")
target_include_directories(Eshell PUBLIC ${ECORE_INCLUDE_DIRS} ${EFL_INCLUDE_DIRS})
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.