I am compiling a server on Microsoft Visual Studio 2015, generating the solution using CMake. The project is correctly set up to generate a 64-bit release, and the following variables work:
MYSQL_EXECUTABLE = C:/MariaDB/bin
MYSQL_INCLUDEDIR = C:/MariaDB/include/mysql
MYSQL_LIBRARY = C:/MariaDB/lib
Everything builds correctly except at the end when I get the following:
17>LINK : fatal error LNK1181: cannot open input file 'C:\MariaDB\lib.obj'
As suggested here, I have appended "C:\MariaDB\lib" to "Additional Library Directories". However, because it's looking for "lib.obj" rather than anything with a reasonable name, I've no idea how to fix it. Any ideas?