From 8f5777592339a30330f0551f1c7b33346d1461e9 Mon Sep 17 00:00:00 2001 From: Hui Li Date: Mon, 31 Aug 2020 11:34:55 +0800 Subject: [PATCH] [modify oem macro define] --- cmake/install.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/install.inc b/cmake/install.inc index decb25e3e7..8016f23808 100755 --- a/cmake/install.inc +++ b/cmake/install.inc @@ -4,7 +4,7 @@ IF (TD_LINUX) INSTALL(CODE "execute_process(COMMAND chmod 777 ${TD_MAKE_INSTALL_SH})") INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR})") ELSEIF (TD_WINDOWS) - IF (TD_OEM_POWER) + IF (TD_POWER) SET(CMAKE_INSTALL_PREFIX C:/PowerDB) ELSE () SET(CMAKE_INSTALL_PREFIX C:/TDengine) @@ -35,4 +35,4 @@ ELSEIF (TD_DARWIN) INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")") INSTALL(CODE "execute_process(COMMAND chmod 777 ${TD_MAKE_INSTALL_SH})") INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} ${TD_COMMUNITY_DIR} ${PROJECT_BINARY_DIR} Darwin)") -ENDIF () \ No newline at end of file +ENDIF () -- GitLab