Add a PRE_INSTALL option to add_custom_command

Woohoo!!! (As the saying goes).

Adding:

if(APPLE)
install (CODE “execute_process(COMMAND "$ENV{HOME}/.unlock_keychain")”)
endif()

Did exactly what I needed!

Thank you so much
David

1 Like