From 2d9cca317a584f0f066ecef07129a2578c93b1eb Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sun, 24 May 2020 16:16:10 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20issue=20with=20Mac=20OS=C2=A0X=20on=20hel?= =?UTF-8?q?lo=20world=20CMakeLists.txt=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helloworld/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helloworld/CMakeLists.txt b/helloworld/CMakeLists.txt index f3464993..0ec6ef56 100644 --- a/helloworld/CMakeLists.txt +++ b/helloworld/CMakeLists.txt @@ -7,6 +7,8 @@ cmake_minimum_required(VERSION 3.8) # Help CMake to find the installed library on Windows if(WIN32) list(APPEND CMAKE_PREFIX_PATH "C:\\Program Files (x86)\\ReactPhysics3D") +elseif(APPLE) + list(APPEND CMAKE_PREFIX_PATH "/usr/local/lib/cmake/ReactPhysics3D") endif() # Import the ReactPhysics3D library that you have installed on your computer using