Fix issue with Mac OS X on hello world CMakeLists.txt file

dreamcast
Daniel Chappuis 2020-05-24 16:16:10 +07:00
parent bd4a26d5c7
commit 2d9cca317a
1 changed files with 2 additions and 0 deletions

@ -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