Fix issue with Mac OS X on hello world CMakeLists.txt file
This commit is contained in:
parent
bd4a26d5c7
commit
2d9cca317a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user