Skip to content
Snippets Groups Projects
Commit e7711909 authored by Amna Snene's avatar Amna Snene Committed by Adrien Béraud
Browse files

build: run build.py from CMakeLists

Change-Id: I165955454d0fc471f6b8cf894b2fadbd3b24a6bb
parent c2320a81
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,12 @@ option(BUILD_BENCHMARKS "Build benchamrks" ON) ...@@ -22,8 +22,12 @@ option(BUILD_BENCHMARKS "Build benchamrks" ON)
option(BUILD_DEPENDENCIES "Build dependencies" ON) option(BUILD_DEPENDENCIES "Build dependencies" ON)
if (NOT MSVC) if (NOT MSVC)
if (BUILD_DEPENDENCIES) if (BUILD_DEPENDENCIES)
find_package(Python3 COMPONENTS Interpreter)
execute_process(
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/build.py
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dependencies
)
set(DEPENDENCIES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/install/${TARGET}) set(DEPENDENCIES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/install/${TARGET})
include (GNUInstallDirs) include (GNUInstallDirs)
message("dependencies path: ${DEPENDENCIES_PATH}") message("dependencies path: ${DEPENDENCIES_PATH}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment