Merge pull request #416 from tdsmith/python-exec-link
link ledger executable to Python on OS X
This commit is contained in:
commit
53cdde527d
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