blob: e22d9615efd3ec2e4f5d867871ca73d4236e9c9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 333d8ca..d0e6160 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,6 +24,7 @@ project(LibMultiSense
include (CheckCXXSourceCompiles)
+if(0)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
string (REGEX REPLACE "/W3" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
string (REGEX REPLACE "/W3" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
@@ -41,6 +42,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Ap
#
add_compile_options(-Wno-gnu-zero-variadic-macro-arguments)
endif()
+endif()
option(BUILD_LEGACY_API "Build the legacy MultiSense API. Defaults to On for backwards compatibility." ON)
option(MULTISENSE_BUILD_UTILITIES "Build MultiSense utility applications. Defaults to ON for backwards compatibility." ON)
|