1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Fix CMake warnings on linking the Python libraries

This commit is contained in:
Florian Meißner
2013-07-06 14:22:48 +02:00
parent 4d6d265daa
commit dd431db36e
4 changed files with 4 additions and 17 deletions

View File

@ -14,13 +14,7 @@ set(plPythonPack_HEADERS
add_executable(plPythonPack ${plPythonPack_SOURCES} ${plPythonPack_HEADERS})
target_link_libraries(plPythonPack CoreLib plFile)
if(PYTHON_DEBUG_LIBRARY)
target_link_libraries(plPythonPack debug ${PYTHON_DEBUG_LIBRARY})
target_link_libraries(plPythonPack optimized ${PYTHON_LIBRARY})
else()
target_link_libraries(plPythonPack ${PYTHON_LIBRARY})
endif()
target_link_libraries(plPythonPack ${PYTHON_LIBRARIES})
if(USE_VLD)
target_link_libraries(plPythonPack ${VLD_LIBRARY})