Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 08c48c33 authored by gsell's avatar gsell
Browse files

Merge branch...

Merge branch '807-cmake-will_build_shared_library-must-be-enabled-to-build-python-hooks' into 'master'

Resolve "CMake: WILL_BUILD_SHARED_LIBRARY must be enabled to build Python hooks"

Closes #807

See merge request !664
parents e4498781 ca21165a
No related branches found
No related tags found
1 merge request!664Resolve "CMake: WILL_BUILD_SHARED_LIBRARY must be enabled to build Python hooks"
...@@ -63,8 +63,11 @@ add_compile_options (-fstrict-aliasing) ...@@ -63,8 +63,11 @@ add_compile_options (-fstrict-aliasing)
option (WILL_BUILD_STATIC_LIBRARY "Building static library" ON) option (WILL_BUILD_STATIC_LIBRARY "Building static library" ON)
option (BUILD_OPAL_PYTHON "Building Python interface for OPAL" OFF) option (BUILD_OPAL_PYTHON "Building Python interface for OPAL" OFF)
option (WILL_BUILD_SHARED_LIBRARY "Building python hooks - requires dynamic libs" OFF)
if (BUILD_OPAL_PYTHON) if (BUILD_OPAL_PYTHON)
option (WILL_BUILD_SHARED_LIBRARY "Building python hooks - requires dynamic libs" ON) if (NOT WILL_BUILD_SHARED_LIBRARY)
message (FATAL_ERROR "For building python hooks you have to enable WILL_BUILD_SHARED_LIBRARY")
endif()
find_package (Python3 COMPONENTS Development REQUIRED) find_package (Python3 COMPONENTS Development REQUIRED)
endif () endif ()
......
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