From f19017548381ab1dabc11e312acc790253d8b07d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 13 Jul 2015 05:44:41 +0200 Subject: cmake: run install-fail-tool on OSX --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b483000d..2c38b4d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -541,3 +541,9 @@ endif() if(WIN32) install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION .) endif() + +if(APPLE) + install(CODE " + execute_process(COMMAND /bin/sh \"${CMAKE_SOURCE_DIR}/install-fail-tool\" \"${CMAKE_INSTALL_PREFIX}\") + ") +endif() -- cgit v1.2.3