Skip to content

Commit 8d7ee53

Browse files
committed
Remove CMake policy guard around protobuf
1 parent c402aaa commit 8d7ee53

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

thirdparty/protobuf/build-protobuf.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ if(MSVC)
3030
endif()
3131

3232
ecal_disable_all_warnings()
33-
ecal_variable_push(CMAKE_POLICY_VERSION_MINIMUM)
34-
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
3533
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/protobuf" "${eCAL_BINARY_DIR}/thirdparty/protobuf" SYSTEM)
36-
ecal_variable_pop(CMAKE_POLICY_VERSION_MINIMUM)
3734
ecal_restore_warning_level()
3835

3936
if (NOT TARGET protobuf::libprotobuf)

0 commit comments

Comments
 (0)