From f2a4cc5cca13ff1933b75c6fa7a1491909014ad9 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 20 Nov 2017 16:07:11 +0100 Subject: build: Install system-wide on OS X OS X should disable the system integrity protection system so ouroboros can be install system-wide. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bfe590e..46ae6324 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ if (NOT CMAKE_BUILD_TYPE) "Build type (Release, Debug, DebugASan, DebugTSan, DebugLSan)" FORCE) endif() -if (NOT APPLE AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) +if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set(CMAKE_INSTALL_PREFIX "/" CACHE STRING "Installation Prefix" FORCE) endif () -- cgit v1.2.3