wisk / medusa

An open source interactive disassembler
Other
1.04k stars 92 forks source link

OGDF OS X Build Failure #20

Closed saeschdivara closed 8 years ago

saeschdivara commented 9 years ago

Reference: https://github.com/ogdf/ogdf/issues/11

if("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
  #if(${CMAKE_SYSTEM_VERSION} MATCHES "todo-some-number-here")
       add_definitions("-DGTEST_USE_OWN_TR1_TUPLE=1")
  #endif()
endif()

This should be added to the main CMakeLists.txt

wisk commented 9 years ago

I'll try to fix it, thanks for reporting.

saeschdivara commented 9 years ago

Well for me it woks on OS X and since it checks if the system is Darwin, there should be no problem for you