parent
6b0e5745ab
commit
fee42f6e68
|
@ -108,7 +108,6 @@ MACRO(PYTHON_ADD_MODULE _NAME )
|
||||||
ENDIF(PYTHON_MODULE_${_NAME}_BUILD_SHARED)
|
ENDIF(PYTHON_MODULE_${_NAME}_BUILD_SHARED)
|
||||||
|
|
||||||
SET(PY_MODULES_LIST ${PY_MODULES_LIST} ${_NAME} CACHE STRING "Collect a list of all added python modules" FORCE)
|
SET(PY_MODULES_LIST ${PY_MODULES_LIST} ${_NAME} CACHE STRING "Collect a list of all added python modules" FORCE)
|
||||||
message(STATUS "modules: ${PY_MODULES_LIST}")
|
|
||||||
ADD_LIBRARY(${_NAME} ${PY_MODULE_TYPE} ${ARGN})
|
ADD_LIBRARY(${_NAME} ${PY_MODULE_TYPE} ${ARGN})
|
||||||
# TARGET_LINK_LIBRARIES(${_NAME} ${PYTHON_LIBRARIES})
|
# TARGET_LINK_LIBRARIES(${_NAME} ${PYTHON_LIBRARIES})
|
||||||
ENDIF(PYTHON_ENABLE_MODULE_${_NAME})
|
ENDIF(PYTHON_ENABLE_MODULE_${_NAME})
|
||||||
|
|
Loading…
Reference in New Issue