Fix OSX builds for macports
macports command is 'port' not 'ports'
This commit is contained in:
parent
c38c6bcaa2
commit
cb1d116cce
|
@ -312,7 +312,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
||||||
)
|
)
|
||||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
find_program(BREW_PROGRAM "brew")
|
find_program(BREW_PROGRAM "brew")
|
||||||
find_program(PORT_PROGRAM "ports")
|
find_program(PORT_PROGRAM "port")
|
||||||
|
|
||||||
if (IS_DIRECTORY /opt/local AND PORT_PROGRAM)
|
if (IS_DIRECTORY /opt/local AND PORT_PROGRAM)
|
||||||
# macports
|
# macports
|
||||||
|
|
Loading…
Reference in New Issue