cmake .. -DCMAKE_INSTALL_PREFIX=D:/path/x64/release
cmake --build . --config Release --target install
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=true -DFT_WITH_ZLIB=ON -DFT_WITH_PNG=ON -DFT_REQUIRE_HARFBUZZ=FALSE -DCMAKE_INSTALL_PREFIX=D:\freetype\2.12.1\x64\release -DCMAKE_PREFIX_PATH="D:\libpng\1.6.37\x64\release;D:\zlib\1.2.12\x64\release"
cmake --build . --config Release --target install
标签:cmake,--,x64,PREFIX,base,release,DCMAKE
From: https://www.cnblogs.com/Searchor/p/16937398.html