mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:39:00 +08:00
5eae23f558
* [azure-kinect-sensor-sdk] fix linux build and other issues
- linux: warnings stopping the build
- linux: set correct casing for dependecies
- linux: depthengine
- upgrade to 1.4.1
* Update ports/azure-kinect-sensor-sdk/CONTROL
* Update ports/azure-kinect-sensor-sdk/portfile.cmake
* Force to re-download archive, revert 9cd44db8e3
* update version record
* Update ports/azure-kinect-sensor-sdk/CONTROL
* Update versions/a-/azure-kinect-sensor-sdk.json
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
27 lines
946 B
Diff
27 lines
946 B
Diff
diff --git a/configs/azure_iot_build_rules.cmake b/configs/azure_iot_build_rules.cmake
|
|
index be3e14fe..aa402902 100644
|
|
--- a/configs/azure_iot_build_rules.cmake
|
|
+++ b/configs/azure_iot_build_rules.cmake
|
|
@@ -71,8 +71,6 @@ if(MSVC)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
|
|
elseif(UNIX) #LINUX OR APPLE
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
|
if(NOT (IN_OPENWRT OR APPLE))
|
|
set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L ${CMAKE_C_FLAGS}")
|
|
endif()
|
|
@@ -191,12 +189,6 @@ endfunction()
|
|
IF((WIN32) AND (NOT(MINGW)))
|
|
#windows needs this define
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
- # Make warning as error
|
|
- add_definitions(/WX)
|
|
-ELSE()
|
|
- # Make warning as error
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
|
ENDIF()
|
|
|
|
|