Skip to content
Snippets Groups Projects
Commit 05a36e40 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing detecting OSX

parent 5665709e
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,12 @@ else()
message( FATAL_ERROR "LibHilbert is required in order to install OpenFPM")
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)
set(DEFINE_HAVE_TINYOBJLOADER "#define HAVE_TINYOBJLOADER 1")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment