Skip to content

Commit 73ea442

Browse files
committed
Seems kenlm can be built with C++20, remove the CXX_STANDARD for kenlm
kenlm was compiled with C++11 while others using C++20 think the std::string is violating odr. Ref: https://bugs.gentoo.org/962546
1 parent 7d0d028 commit 73ea442

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libime/core/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ target_include_directories(kenlm PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE
1414
target_compile_definitions(kenlm PUBLIC -DKENLM_MAX_ORDER=3 PRIVATE -DNDEBUG)
1515
target_link_libraries(kenlm PUBLIC Boost::boost PkgConfig::ZSTD)
1616
set_target_properties(kenlm PROPERTIES
17-
CXX_STANDARD 11
1817
POSITION_INDEPENDENT_CODE ON)
1918

2019
if(UNIX)

0 commit comments

Comments
 (0)