link ledger executable to Python
Since the ledger executable embeds the Python interpreter, it does need an explicit link to a Python framework on OS X after all.
This commit is contained in:
parent
c586e1e494
commit
249527c985
1 changed files with 3 additions and 0 deletions
|
|
@ -273,6 +273,9 @@ if (BUILD_LIBRARY)
|
|||
|
||||
add_executable(ledger main.cc global.cc)
|
||||
target_link_libraries(ledger libledger)
|
||||
if (APPLE AND HAVE_BOOST_PYTHON)
|
||||
target_link_libraries(ledger ${PYTHON_LIBRARIES})
|
||||
endif()
|
||||
|
||||
install(TARGETS libledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install(FILES ${LEDGER_INCLUDES}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue