It does not work.
# grep NOTFOUND CMakeCache.txt
AWS_CPP_SDK_CORE:FILEPATH=AWS_CPP_SDK_CORE-NOTFOUND
AWS_CPP_SDK_INCLUDE_DIR:PATH=AWS_CPP_SDK_INCLUDE_DIR-NOTFOUND
AWS_CPP_SDK_KMS:FILEPATH=AWS_CPP_SDK_KMS-NOTFOUND
Boost_DIR:PATH=Boost_DIR-NOTFOUND
Boost_INCLUDE_DIR:PATH=Boost_INCLUDE_DIR-NOTFOUND
CHECKMODULE:FILEPATH=CHECKMODULE-NOTFOUND
CURSES_EXTRA_LIBRARY:FILEPATH=CURSES_EXTRA_LIBRARY-NOTFOUND
DTRACE:FILEPATH=DTRACE-NOTFOUND
GRN_MECAB_CONFIG_ABSOLUTE_PATH:FILEPATH=GRN_MECAB_CONFIG_ABSOLUTE_PATH-NOTFOUND
GTAR_EXECUTABLE:FILEPATH=GTAR_EXECUTABLE-NOTFOUND
ICONV_LIBRARIES:FILEPATH=ICONV_LIBRARIES-NOTFOUND
JAVA_AWT_INCLUDE_PATH:PATH=JAVA_AWT_INCLUDE_PATH-NOTFOUND
JAVA_AWT_LIBRARY:FILEPATH=JAVA_AWT_LIBRARY-NOTFOUND
JAVA_INCLUDE_PATH:PATH=JAVA_INCLUDE_PATH-NOTFOUND
JAVA_INCLUDE_PATH2:PATH=JAVA_INCLUDE_PATH2-NOTFOUND
JAVA_JVM_LIBRARY:FILEPATH=JAVA_JVM_LIBRARY-NOTFOUND
Java_JAR_EXECUTABLE:FILEPATH=Java_JAR_EXECUTABLE-NOTFOUND
Java_JAVAC_EXECUTABLE:FILEPATH=Java_JAVAC_EXECUTABLE-NOTFOUND
Java_JAVADOC_EXECUTABLE:FILEPATH=Java_JAVADOC_EXECUTABLE-NOTFOUND
Java_JAVAH_EXECUTABLE:FILEPATH=Java_JAVAH_EXECUTABLE-NOTFOUND
Java_JAVA_EXECUTABLE:FILEPATH=Java_JAVA_EXECUTABLE-NOTFOUND
LIBEDIT_INCLUDE_DIR:PATH=LIBEDIT_INCLUDE_DIR-NOTFOUND
LIBEDIT_LIBRARY:FILEPATH=LIBEDIT_LIBRARY-NOTFOUND
LIBXML2_XMLLINT_EXECUTABLE:FILEPATH=LIBXML2_XMLLINT_EXECUTABLE-NOTFOUND
ODBC_INCLUDE_DIR:PATH=ODBC_INCLUDE_DIR-NOTFOUND
ODBC_LIBRARY:FILEPATH=ODBC_LIBRARY-NOTFOUND
RUBY:FILEPATH=RUBY-NOTFOUND
SEMODULE_PACKAGE:FILEPATH=SEMODULE_PACKAGE-NOTFOUND
Thrift_INCLUDE_DIRS:PATH=Thrift_INCLUDE_DIRS-NOTFOUND
Thrift_LIBS:FILEPATH=Thrift_LIBS-NOTFOUND
_Boost_INCLUDE_DIR_LAST:INTERNAL=Boost_INCLUDE_DIR-NOTFOUND
Multiple errors, in files and functions that do not exist. Attached log file.