CMake: fix usage of cmake_dependent_option

This commit is contained in:
2025-09-10 19:44:17 -04:00
parent 3a852bfb9d
commit 20034513ad
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
cmake_dependent_option(ENABLE_SENSEAPI_livoxGen1
"Enable Livox Gen1 LiDAR sense API" OFF
"ENABLE_LIB_livoxProto1" ON)
"Enable Livox Gen1 LiDAR sense API" ON
"ENABLE_LIB_livoxProto1" OFF)
if(ENABLE_SENSEAPI_livoxGen1)
add_library(livoxGen1 SHARED