File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ SET(PROJECT_URL "https://github.com/simple-robotics/pycppad")
1010SET (PROJECT_CUSTOM_HEADER_EXTENSION "hpp" )
1111SET (PROJECT_USE_CMAKE_EXPORT TRUE )
1212
13- # Project options
14- OPTION (SUFFIX_SO_VERSION "Suffix library name with its version" ON )
1513
1614# Project configuration
1715SET (PROJECT_USE_CMAKE_EXPORT TRUE )
@@ -35,6 +33,10 @@ COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
3533PROJECT (${PROJECT_NAME} ${PROJECT_ARGS} )
3634CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
3735
36+ # Project options
37+ OPTION (SUFFIX_SO_VERSION "Suffix library name with its version" ON )
38+ OPTION (BUILD_CODEGEN_BINDINGS "Build the python bindings for code generation (via CppADCodeGen)" OFF )
39+
3840FINDPYTHON()
3941
4042SET_BOOST_DEFAULT_OPTIONS()
@@ -51,8 +53,6 @@ ADD_PROJECT_DEPENDENCY(cppad 20180000.0 REQUIRED PKG_CONFIG_REQUIRES "cppad >= 2
5153ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.5" )
5254ADD_PROJECT_DEPENDENCY(eigenpy 2.6.6 REQUIRED)
5355
54- OPTION (BUILD_CODEGEN_BINDINGS "Build the python bindings for code generation (via CppADCodeGen)" OFF )
55-
5656SET (${PROJECT_NAME} _HEADERS
5757 include /${PROJECT_NAME} /fwd.hpp
5858 include /${PROJECT_NAME} /ad.hpp
You can’t perform that action at this time.
0 commit comments