Skip to content
Permalink
Browse files
PROTON-2583: Fix build to avoid warnings for recent CMake
It's not exactly clear but this may need cmake > 3.13
  • Loading branch information
astitcher committed Jul 26, 2022
1 parent 0c240d1 commit e47b0805abe5bd25a4f979142d620f498b296407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -371,10 +371,10 @@ if(SWIG_FOUND)
list(APPEND BINDINGS python ruby)

if (POLICY CMP0078)
cmake_policy(SET CMP0078 OLD)
cmake_policy(SET CMP0078 NEW)
endif()
if (POLICY CMP0086)
cmake_policy(SET CMP0086 OLD)
cmake_policy(SET CMP0086 NEW)
endif()
include(UseSWIG)

@@ -203,7 +203,7 @@ endif ()
# python test: python/tests/proton-test
set (py_src "${CMAKE_CURRENT_SOURCE_DIR}")
set (py_bin "${CMAKE_CURRENT_BINARY_DIR}")
set (py_dll "$<TARGET_FILE_DIR:_cproton>")
set (py_dll "$<TARGET_FILE_DIR:cproton>")
set (py_bld "$<TARGET_FILE_DIR:qpid-proton-core>") # For windows
set (py_tests "${py_src}/tests")
set (tests_py "${py_src}/../tests/py")

0 comments on commit e47b080

Please sign in to comment.