--- sql/CMakeLists.txt.orig	2017-01-12 01:45:19 UTC
+++ sql/CMakeLists.txt
@@ -247,9 +247,9 @@ RUN_BISON(
 )
 
 # Gen_lex_hash
-IF(NOT CMAKE_CROSSCOMPILING)
+
   ADD_EXECUTABLE(gen_lex_hash gen_lex_hash.cc)
-ENDIF()
+
 
 ADD_CUSTOM_COMMAND(
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lex_hash.h
