Use prefix lib path if provided so we can override system libs for bundles

This commit is contained in:
Charles J. Cliffe 2023-08-17 00:15:32 -04:00
parent 74b52f7b97
commit fcb646f385

View File

@ -302,6 +302,9 @@ IF (APPLE)
SET(CMAKE_OSX_DEPLOYMENT_TARGET, "10.9")
SET(LIQUID_LIB liquid)
IF(CMAKE_INSTALL_PREFIX)
link_directories(${CMAKE_INSTALL_PREFIX}/lib)
ENDIF(CMAKE_INSTALL_PREFIX)
link_directories(/usr/local/lib)
link_directories(/opt/local/lib)