build: Install SourcetrailPythonIndexer only if Python language package is enabled (#800)
Regards https://github.com/CoatiSoftware/Sourcetrail/issues/758
This commit is contained in:
committed by
Eberhard Graether
parent
23236541f8
commit
9918cfd99a
@@ -55,10 +55,12 @@ function(AddSharedToComponent)
|
||||
PATTERN "python/SourcetrailPythonIndexer" EXCLUDE
|
||||
)
|
||||
|
||||
INSTALL(PROGRAMS
|
||||
${CMAKE_SOURCE_DIR}/bin/app/data/python/SourcetrailPythonIndexer
|
||||
DESTINATION Sourcetrail/data/python
|
||||
)
|
||||
if (BUILD_PYTHON_LANGUAGE_PACKAGE)
|
||||
INSTALL(PROGRAMS
|
||||
${CMAKE_SOURCE_DIR}/bin/app/data/python/SourcetrailPythonIndexer
|
||||
DESTINATION Sourcetrail/data/python
|
||||
)
|
||||
endif()
|
||||
|
||||
InstallQt(5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user