Fix OSX builds for macports

macports command is 'port' not 'ports'
This commit is contained in:
Jim Westfall 2019-01-02 16:41:43 -08:00 committed by GitHub
parent c38c6bcaa2
commit cb1d116cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
find_program(BREW_PROGRAM "brew")
find_program(PORT_PROGRAM "ports")
find_program(PORT_PROGRAM "port")
if (IS_DIRECTORY /opt/local AND PORT_PROGRAM)
# macports