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