diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-16 19:02:14 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-16 19:02:14 (GMT) |
commit | 6b0e5745ab7c874841952cf0d503ad7bede4a82f (patch) | |
tree | 563784e67f0ac79f9d0c7922c0732702b29edd99 /Modules/FindPythonLibs.cmake | |
parent | a7213b3e63688896428aa5ab9714d79c9d363d7c (diff) | |
download | CMake-6b0e5745ab7c874841952cf0d503ad7bede4a82f.zip CMake-6b0e5745ab7c874841952cf0d503ad7bede4a82f.tar.gz CMake-6b0e5745ab7c874841952cf0d503ad7bede4a82f.tar.bz2 |
ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors
Alex
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r-- | Modules/FindPythonLibs.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index e7eac31..c5a7b60 100644 --- a/Modules/FindPythonLibs.cmake +++ b/Modules/FindPythonLibs.cmake @@ -108,6 +108,7 @@ MACRO(PYTHON_ADD_MODULE _NAME ) 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) + message(STATUS "modules: ${PY_MODULES_LIST}") ADD_LIBRARY(${_NAME} ${PY_MODULE_TYPE} ${ARGN}) # TARGET_LINK_LIBRARIES(${_NAME} ${PYTHON_LIBRARIES}) ENDIF(PYTHON_ENABLE_MODULE_${_NAME}) |