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

This commit is contained in:
Daniel Chappuis 2020-05-24 16:16:10 +02:00
parent bd4a26d5c7
commit 2d9cca317a

View File

@ -7,6 +7,8 @@ cmake_minimum_required(VERSION 3.8)
# Help CMake to find the installed library on Windows # Help CMake to find the installed library on Windows
if(WIN32) if(WIN32)
list(APPEND CMAKE_PREFIX_PATH "C:\\Program Files (x86)\\ReactPhysics3D") list(APPEND CMAKE_PREFIX_PATH "C:\\Program Files (x86)\\ReactPhysics3D")
elseif(APPLE)
list(APPEND CMAKE_PREFIX_PATH "/usr/local/lib/cmake/ReactPhysics3D")
endif() endif()
# Import the ReactPhysics3D library that you have installed on your computer using # Import the ReactPhysics3D library that you have installed on your computer using