baidu / puck

Puck is a high-performance ANN search engine
Apache License 2.0
343 stars 37 forks source link

CMAKE_LIBRARY_OUTPUT_DIRECTORY 为空 #4

Closed JankinTian closed 1 year ago

JankinTian commented 1 year ago

在进行项目编译的时候,发现CMAKE_LIBRARY_OUTPUT_DIRECTORY的位置为空,这个变量指定为哪个地址?还是自己随意指定?

nk2014yj commented 1 year ago

推荐指定为CMAKE_CURRENT_BINARY_DIR一样的value。后面会更新下cmakefile,给CMAKE_LIBRARY_OUTPUT_DIRECTORY一个初始值,https://github.com/baidu/puck/commit/cb816ad801e0e3c0eb63b432eb9d7456c34682a4

nk2014yj commented 1 year ago

cmake更新了,给CMAKE_CURRENT_BINARY_DIR一个初始值。在不需要python接口时候,可以把编译参数USE_PYTHON=ON去掉,Readme也更新了。