On Fri, 2019-03-01 at 17:49 +0800, Yu, Mingli wrote:
> Hi Expert,
> 
> I encounter build issue when compile mariadb from 
> https://downloads.mariadb.org/mariadb/10.3.13/
> 
> 
> make[2]: *** No rule to make target 'sql/sql_yacc.cc', needed by 
> 'libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o'.  Stop.
> 
> And the content of libmysqld/CMakeLists.txt as attached, any ideas?

I don't see anything in this file for actually *generating*
sql_yacc.cc. This should be generated by using add_custom_command() to
call yacc. Is that happening in another file?

Kyle
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to