forked from pool/cadabra2
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
|
Index: cadabra2-2.4.5.6/core/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- cadabra2-2.4.5.6.orig/core/CMakeLists.txt
|
||
|
+++ cadabra2-2.4.5.6/core/CMakeLists.txt
|
||
|
@@ -294,7 +294,7 @@ target_link_libraries(cadabra2 PRIVATE
|
||
|
${GMPXX_LIBRARIES}
|
||
|
${GMP_LIBRARIES}
|
||
|
${Boost_LIBRARIES}
|
||
|
-# ${PYTHON_LIBRARIES}
|
||
|
+ ${PYTHON_LIBRARIES}
|
||
|
# ${GLIBMM3_LIBRARIES}
|
||
|
)
|
||
|
|
||
|
Index: cadabra2-2.4.5.6/core/packages/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- cadabra2-2.4.5.6.orig/core/packages/CMakeLists.txt
|
||
|
+++ cadabra2-2.4.5.6/core/packages/CMakeLists.txt
|
||
|
@@ -66,8 +66,7 @@ foreach(PACKAGE ${COMPILED_PACKAGES})
|
||
|
set_target_properties(${PNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}")
|
||
|
set_target_properties(${PNAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}")
|
||
|
set_target_properties(${PNAME} PROPERTIES SUFFIX ".${PYTHON_MOD_SUFFIX}")
|
||
|
-
|
||
|
- target_link_libraries(${PNAME} PUBLIC cadabra2 ${GMPXX_LIBRARIES})
|
||
|
+ target_link_libraries(${PNAME} PUBLIC cadabra2 ${PYTHON_LIBRARIES} ${GMPXX_LIBRARIES} ${GMP_LIBRARIES})
|
||
|
target_include_directories(${PNAME} PUBLIC ${CADABRA_CORE_DIR})
|
||
|
|
||
|
if(IPO_SUPPORTED)
|