[DiscordArchive] tell cmake where the mysql dev stuff is?
[DiscordArchive] tell cmake where the mysql dev stuff is?
Archived author: Silentstorm • Posted: 2022-08-12T05:48:38.883000+00:00
Original source
tell cmake where the mysql dev stuff is?
Archived author: Froggacuda • Posted: 2022-08-12T05:49:12.399000+00:00
Original source
this is what I have used on Intel Mac configured identically:
export OPENSSL_ROOT_DIR=$(brew --prefix [email protected])
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/users/froggacuda/azeroth-server/ \
-DTOOLS=0 \
-DSCRIPTS=static \
-DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \
-DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib \
-DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include \
-DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib \
-DOPENSSL_INCLUDE_DIR="$OPENSSL_ROOT_DIR/include" \
-DOPENSSL_SSL_LIBRARIES="$OPENSSL_ROOT_DIR/lib/libssl.dylib" \
-DOPENSSL_CRYPTO_LIBRARIES="$OPENSSL_ROOT_DIR/lib/libcrypto.dylib"
Archived author: Silentstorm • Posted: 2022-08-12T05:50:09.065000+00:00
Original source
.
Archived author: Silentstorm • Posted: 2022-08-12T05:50:23.023000+00:00
Original source
look through all the cmake options it gives you for mysql stuff