diff options
author | Vladislav Vaintroub <vvaintroub@macbook.local> | 2009-11-09 19:14:33 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@macbook.local> | 2009-11-09 19:14:33 +0100 |
commit | d47ac4d7a6ea54116793301aa324cac477c4c3de (patch) | |
tree | ba49cf9b4edb4beca947dcb5abeb80213ddb5764 /libmysqld | |
parent | 360ee02d5dfdd4f102d69d8db617966a605e1f51 (diff) | |
download | mariadb-git-d47ac4d7a6ea54116793301aa324cac477c4c3de.tar.gz |
Fix problems found by Joro (Xcode generator specific)
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/examples/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libmysqld/examples/CMakeLists.txt b/libmysqld/examples/CMakeLists.txt index 400ddd8b729..ed0e5a361a8 100644 --- a/libmysqld/examples/CMakeLists.txt +++ b/libmysqld/examples/CMakeLists.txt @@ -39,9 +39,13 @@ IF(CMAKE_GENERATOR MATCHES "Xcode") # It does not seem possible to tell Xcode the resulting target might need # to be linked with C++ runtime. The project needs to have at least one C++ # file. Add a dummy one. - MYSQL_CREATE_EMPTY_FILE(mysql_client_test_embedded_dummy.cc) + ADD_CUSTOM_COMMAND(OUTPUT + ${CMAKE_CURRENT_BINARY_DIR}/mysql_client_test_embedded_dummy.cc + COMMAND ${CMAKE_COMMAND} -E touch + ${CMAKE_CURRENT_BINARY_DIR}/mysql_client_test_embedded_dummy.cc + ) ADD_EXECUTABLE(mysql_client_test_embedded - mysql_client_test_embedded_dummy.cc + ${CMAKE_CURRENT_BINARY_DIR}/mysql_client_test_embedded_dummy.cc ../../tests/mysql_client_test.c) ELSE() ADD_EXECUTABLE(mysql_client_test_embedded ../../tests/mysql_client_test.c) |