diff --git a/CMakeLists.txt b/CMakeLists.txt index 53eb0e6df..e72fc6659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,3 +9,7 @@ SET(THIRDPARTY ${PROJECT_SOURCE_DIR}/thirdparty) ADD_SUBDIRECTORY(thirdparty) ADD_SUBDIRECTORY(src) + +CONFIGURE_FILE( + ${SOURCE}/test/ltp_all_modules.conf + ${EXECUTABLE_OUTPUT_PATH}/ltp_all_modules.conf) diff --git a/configure b/configure index 2f8720beb..1b552bd49 100755 --- a/configure +++ b/configure @@ -3,4 +3,4 @@ if [ ! -d build ]; then mkdir -p build fi -(cd build >/dev/null 2>&1 && cmake .. "$@") +(cd build >/dev/null 2>&1 && cmake -DCMAKE_BUILD_TYPE=Release .. "$@")