mirror of https://github.com/microsoft/vcpkg.git
21 lines
818 B
Diff
21 lines
818 B
Diff
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)
|