diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index cd83448c04e958e1adbfc99494b9bc6f96a45ac1..d75091e73fcba9720c165bb1f07403bdbc6cbba6 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -121,7 +121,7 @@ add_custom_target( Clean-All COMMAND ${CMAKE_BUILD_TOOL} clean ) # **************************** Install **************************** -if ( NOT ${MILVUS_DB_PATH} ) +if ( NOT MILVUS_DB_PATH ) set( MILVUS_DB_PATH "${CMAKE_INSTALL_PREFIX}" ) endif ()