Align PEERDIR_TAGS with TAG when PYTHON3_ADDINCL() is used
This will set correct PEERDIR_TAGS when PYTHON3_ADDINCL is used
@@ -1427,7 +1427,7 @@ module PY_LIBRARY: _LIBRARY {
module PY3_LIBRARY: _LIBRARY {
PYTHON3_ADDINCL()
- PEERDIR_TAGS=PY3 PY3_PROTO __EMPTY__
+ SET(PEERDIR_TAGS PY3 PY3_PROTO __EMPTY__)
OPTIMIZE_PY_PROTOS()
when ($NO_PYTHON_INCLS != "yes") {
@@ -1466,7 +1466,7 @@ module BASE_PY_PROGRAM: BASE_PROGRAM {
module BASE_PY3_PROGRAM: BASE_PROGRAM {
PYTHON3_ADDINCL()
- PEERDIR_TAGS=PY3_PROTO PY3 __EMPTY__
+ SET(PEERDIR_TAGS PY3_PROTO PY3 __EMPTY__)
PEERDIR(library/python/runtime_py3/main)
ALLOCATOR(J)
@@ -1772,6 +1772,7 @@ macro PYTHON_ADDINCL() {
macro PYTHON3_ADDINCL() {
SET(MODULE_TAG PY3)
SET(PYTHON3 yes)
+ SET(PEERDIR_TAGS CPP_PROTO PY3 __EMPTY__)
when ($USE_ARCADIA_PYTHON == "yes") {
ADDINCL+=contrib/libs/python/Include
}
@@ -1800,7 +1801,6 @@ macro USE_PYTHON() {
### If you'd like to use #include <Python.h> with both Python2 and Python3 convert your LIBRARY to PY23_LIBRARY
macro USE_PYTHON3() {
PYTHON3_ADDINCL()
- SET(PEERDIR_TAGS CPP_PROTO PY3 __EMPTY__)
PEERDIR(contrib/libs/python)
when ($USE_ARCADIA_PYTHON == "yes") {
