Skip to content
Snippets Groups Projects
Commit 23648f13 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : typo & left over dependency

parent 4524b72b
No related branches found
No related tags found
2 merge requests!93Release v0.3.0,!64Feat/release pip
Pipeline #46471 failed
...@@ -19,16 +19,6 @@ execute_process( ...@@ -19,16 +19,6 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET ERROR_QUIET
) )
message(STATUS "Project name: ${CMAKE_PROJECT_NAME}")
message(STATUS "Project version: ${version}")
execute_process(
COMMAND git rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
message(STATUS "Latest git commit: ${GIT_COMMIT_HASH}") message(STATUS "Latest git commit: ${GIT_COMMIT_HASH}")
# Define a preprocessor macro with the Git commit version # Define a preprocessor macro with the Git commit version
...@@ -65,7 +55,7 @@ file(GLOB_RECURSE inc_files "include/*.hpp") ...@@ -65,7 +55,7 @@ file(GLOB_RECURSE inc_files "include/*.hpp")
add_library(${module_name} ${src_files} ${inc_files}) add_library(${module_name} ${src_files} ${inc_files})
target_link_libraries(${module_name} target_link_libraries(${module_name}
PUBLIC PUBLIC
_aidge_core # _ is added because we link the target not the project _aidge_core # _ is added because we link the exported target and not the project
) )
#Set target properties #Set target properties
......
...@@ -106,6 +106,5 @@ if __name__ == "__main__": ...@@ -106,6 +106,5 @@ if __name__ == "__main__":
cmdclass={ cmdclass={
"build_ext": CMakeBuild, "build_ext": CMakeBuild,
}, },
install_requires=["aidge_core"],
zip_safe=False, zip_safe=False,
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment