From 538e120d45f89a5bfbe3f5021d191dd08d0559b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:57:58 +0900 Subject: [PATCH] fix(compile): "/usr/local/bin/cmoe": not found --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e58f344..df9427b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ SET(CMAKE_BUILD_TYPE "Release") include_directories("/usr/local/include") link_directories("/usr/local/lib") -if (BUILD NOT STREQUAL "docker") +if (NOT BUILD STREQUAL "docker") #在编译选项中加入c99支持 add_compile_options(-std=c99) message(STATUS "optional:-std=c99")