File tree Expand file tree Collapse file tree
HelloWorldExample/generated_code
RPCExample/generated_code
fastdds_python/test/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,12 @@ endif()
7878include (${SWIG_USE_FILE} )
7979set (CMAKE_SWIG_FLAGS "" )
8080
81- find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
81+ if (USE_PYTHON_STABLE_ABI)
82+ find_package (Python3 COMPONENTS Interpreter Development.SABIModule REQUIRED )
83+ else ()
84+ find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
85+ endif ()
86+
8287set (PYTHON_INCLUDE_PATH ${Python3_INCLUDE_DIRS} )
8388set (PYTHON_EXECUTABLE ${Python3_EXECUTABLE} )
8489set (PYTHON_LIBRARIES ${Python3_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -78,7 +78,12 @@ endif()
7878include (${SWIG_USE_FILE} )
7979set (CMAKE_SWIG_FLAGS "" )
8080
81- find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
81+ if (USE_PYTHON_STABLE_ABI)
82+ find_package (Python3 COMPONENTS Interpreter Development.SABIModule REQUIRED )
83+ else ()
84+ find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
85+ endif ()
86+
8287set (PYTHON_INCLUDE_PATH ${Python3_INCLUDE_DIRS} )
8388set (PYTHON_EXECUTABLE ${Python3_EXECUTABLE} )
8489set (PYTHON_LIBRARIES ${Python3_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -73,7 +73,12 @@ endif()
7373include (${SWIG_USE_FILE} )
7474set (CMAKE_SWIG_FLAGS "" )
7575
76- find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
76+ if (USE_PYTHON_STABLE_ABI)
77+ find_package (Python3 COMPONENTS Interpreter Development.SABIModule REQUIRED )
78+ else ()
79+ find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
80+ endif ()
81+
7782set (PYTHON_INCLUDE_PATH ${Python3_INCLUDE_DIRS} )
7883set (PYTHON_EXECUTABLE ${Python3_EXECUTABLE} )
7984set (PYTHON_LIBRARIES ${Python3_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments