| Bug #65231 | Unable to build out-of-source | ||
|---|---|---|---|
| Submitted: | 7 May 2012 20:36 | Modified: | 8 May 2012 19:14 |
| Reporter: | David Golub | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | Connector / C | Severity: | S3 (Non-critical) |
| Version: | 6.0.2 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[8 May 2012 19:14]
Sveta Smirnova
Thank you for the report. This is duplicate of bug #64908 I will change header of bug #64908, so it would be easier to find.

Description: The CMake build scripts for the MySQL C Connector currently do not support using CMake to place the intermediate and output files outside the source tree. Attempting to do so will produce CMake errors. How to repeat: Open a command prompt in the root of the source tree and run mkdir build cd build cmake -G "Visual Studio 10 Win64" .. CMake will fail. Suggested fix: Edit lines 353-358 of the root directory's CMakeLists.txt to that the paths are specified relative to ${CMAKE_SOURCE_DIR}. For example, replace "REAME" with "${CMAKE_SOURCE_DIR}/README" and similarly for COPYING and LICENSE.mysql.