Skip to content

Commit

Permalink
fix: Add useful link directory for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Jun 9, 2022
1 parent dd96e1b commit d4d6091
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ target_include_directories(
pocketsphinx PUBLIC ${CMAKE_BINARY_DIR}/include
pocketsphinx INTERFACE ${CMAKE_SOURCE_DIR}/include
)
if(APPLE)
# Things we might need are here
target_link_directories(pocketsphinx PUBLIC /usr/local/lib)
endif()
find_library(MATH_LIBRARY m)
if(MATH_LIBRARY)
target_link_libraries(pocketsphinx PUBLIC ${MATH_LIBRARY})
Expand Down

0 comments on commit d4d6091

Please sign in to comment.