OpenWrt Tips: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
<syntaxhighlight lang="text" enclose="div">
<syntaxhighlight lang="text" enclose="div">
-DCMAKE_DISABLE_FIND_BSD=ON
-DCMAKE_DISABLE_FIND_BSD=ON
</syntaxhighlight>
諸注意
<syntaxhighlight lang="text" enclose="div">
Note that CMAKE_DISABLE_FIND_XXXXX works for dependency packages that are discovered by CMake using find_package. But, libbsd searching is not done using find_package but find_library, so the -DCMAKE_DISABLE_FIND_BSD=ON is a no-op.
</syntaxhighlight>
</syntaxhighlight>