diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 20:20:35 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 20:20:35 +0200 |
commit | 53cdde527d7a48feccc16ff0d7f67aff5b728833 (patch) | |
tree | bdbd3ba1ae7bc5ee5216ff79984c03ebfc1a6c96 /src | |
parent | a1cb25ad2d9a98ea9ec0bb3ee27fe3cde6046434 (diff) | |
parent | 249527c985a9580a5a17ceab8f4488b855a8569c (diff) | |
download | fork-ledger-53cdde527d7a48feccc16ff0d7f67aff5b728833.tar.gz fork-ledger-53cdde527d7a48feccc16ff0d7f67aff5b728833.tar.bz2 fork-ledger-53cdde527d7a48feccc16ff0d7f67aff5b728833.zip |
Merge pull request #416 from tdsmith/python-exec-link
link ledger executable to Python on OS X
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a368d378..570a6592 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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} |