From 535778ef765d93b8e7c7e4db4bdfadf4f4977e8e Mon Sep 17 00:00:00 2001 From: TinyO Date: Tue, 21 May 2019 11:35:11 +0800 Subject: [PATCH] fix(*): cmake sample windows platform complie. --- platforms/projects/cmake/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/projects/cmake/CMakeLists.txt b/platforms/projects/cmake/CMakeLists.txt index 1553d71..5b313ce 100644 --- a/platforms/projects/cmake/CMakeLists.txt +++ b/platforms/projects/cmake/CMakeLists.txt @@ -13,15 +13,15 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -march=native") # packages if(MSVC) - set(SDK_ROOT "$ENV{MYNTEYE_SDK_ROOT}") + set(SDK_ROOT "$ENV{MYNTEYES_SDK_ROOT}") if(SDK_ROOT) - message(STATUS "MYNTEYE_SDK_ROOT: ${SDK_ROOT}") + message(STATUS "MYNTEYES_SDK_ROOT: ${SDK_ROOT}") list(APPEND CMAKE_PREFIX_PATH "${SDK_ROOT}/lib/cmake" "${SDK_ROOT}/3rdparty/opencv/build" ) else() - message(FATAL_ERROR "MYNTEYE_SDK_ROOT not found, please install SDK firstly") + message(FATAL_ERROR "MYNTEYES_SDK_ROOT not found, please install SDK firstly") endif() endif()