Commit 05a36e40 authored by incardon's avatar incardon
Browse files

Fixing detecting OSX

parent 5665709e
...@@ -138,6 +138,12 @@ else() ...@@ -138,6 +138,12 @@ else()
message( FATAL_ERROR "LibHilbert is required in order to install OpenFPM") message( FATAL_ERROR "LibHilbert is required in order to install OpenFPM")
endif() endif()
message(info "The system is: ${CMAKE_HOST_SYSTEM}" )
if(CMAKE_HOST_SYSTEM STREQUAL "osx")
set(DEFINE_HAVE_OSX "#define HAVE_OSX")
endif()
if(TINYOBJLOADER_FOUND) if(TINYOBJLOADER_FOUND)
set(DEFINE_HAVE_TINYOBJLOADER "#define HAVE_TINYOBJLOADER 1") set(DEFINE_HAVE_TINYOBJLOADER "#define HAVE_TINYOBJLOADER 1")
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment