Fix duplicate 'optimized' when using new libpack
When using a CLbundler libpack, PYTHON_LIBRARY has both optimized and debug
libs, but it doesn't when using an old libpack, which was the reason for
commit f5a4e680
This commit is contained in:
3
src/3rdParty/Pivy-0.5/CMakeLists.txt
vendored
3
src/3rdParty/Pivy-0.5/CMakeLists.txt
vendored
@@ -27,8 +27,7 @@ if(MSVC)
|
||||
Rpcrt4.lib
|
||||
debug ${COIN3D_LIBRARY_DEBUG}
|
||||
optimized ${COIN3D_LIBRARY_RELEASE}
|
||||
debug ${PYTHON_DEBUG_LIBRARY}
|
||||
optimized ${PYTHON_LIBRARY})
|
||||
${PYTHON_LIBRARY})
|
||||
else(MSVC)
|
||||
set(CoinPy_LIBS
|
||||
${COIN3D_LIBRARY}
|
||||
|
||||
@@ -21,8 +21,7 @@ if(MSVC)
|
||||
set(FreeCADBase_LIBS
|
||||
${Boost_LIBRARIES}
|
||||
${Boost_DEBUG_LIBRARIES}
|
||||
debug ${PYTHON_DEBUG_LIBRARY}
|
||||
optimized ${PYTHON_LIBRARY}
|
||||
${PYTHON_LIBRARY}
|
||||
debug ${XERCESC_DEBUG_LIBRARIES}
|
||||
optimized ${XERCESC_LIBRARIES}
|
||||
${QT_QTCORE_LIBRARY}
|
||||
|
||||
Reference in New Issue
Block a user