We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f58f35 + 3ae3456 commit 8a2a206Copy full SHA for 8a2a206
CMakeLists.txt
@@ -3,7 +3,7 @@
3
# Copyright (c) 2018-2020 INRIA
4
#
5
6
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
7
8
SET(PROJECT_NAME eigenpy)
9
SET(PROJECT_DESCRIPTION "Bindings between Numpy and Eigen using Boost.Python")
@@ -189,6 +189,12 @@ ELSE()
189
TARGET_COMPILE_OPTIONS(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>)
190
ENDIF()
191
192
+IF(Boost_VERSION GREATER 107299)
193
+ # Silence a warning about a deprecated use of boost bind by boost python
194
+ # at least fo boost 1.73 to 1.75
195
+ ADD_DEFINITIONS(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
196
+ENDIF()
197
+
198
TARGET_LINK_BOOST_PYTHON(${PROJECT_NAME} PUBLIC)
199
INSTALL(TARGETS ${PROJECT_NAME}
200
EXPORT ${TARGETS_EXPORT_NAME}
0 commit comments