Skip to content

Commit 06fed92

Browse files
authored
Use NO_BUILD_IF instead of empty library (relates YQL-17642) (#3499)
1 parent ad59a86 commit 06fed92

File tree

1 file changed

+3
-9
lines changed
  • ydb/library/yql/udfs/common/hyperscan

1 file changed

+3
-9
lines changed

ydb/library/yql/udfs/common/hyperscan/ya.make

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ IF (YQL_PACKAGED)
88

99
END()
1010
ELSE()
11-
IF (OS_LINUX AND CLANG)
1211

13-
YQL_UDF_YDB(hyperscan_udf)
12+
YQL_UDF_YDB(hyperscan_udf)
13+
NO_BUILD_IF(NOT OS_LINUX OR NOT CLANG)
1414

1515
YQL_ABI_VERSION(
1616
2
@@ -27,13 +27,7 @@ ELSE()
2727
library/cpp/regex/pcre
2828
)
2929

30-
END()
31-
32-
ELSE()
33-
LIBRARY()
34-
END()
35-
ENDIF()
36-
30+
END()
3731
ENDIF()
3832

3933
RECURSE_FOR_TESTS(

0 commit comments

Comments
 (0)