Fix linking errors on MAC OSX.

pull/17/head
Robert G. Jakabosky 15 years ago
parent 61f9e7b341
commit 7a59b9f59a

@ -27,6 +27,10 @@ include(FindLua51)
if(NOT ${LUA51_FOUND}) if(NOT ${LUA51_FOUND})
message(FATAL_ERROR "The FindLua51 module could not find lua :-(") message(FATAL_ERROR "The FindLua51 module could not find lua :-(")
endif() endif()
## MAC OSX needs extra linker flags
if(APPLE)
set(COMMON_LDFLAGS "${COMMON_LDFLAGS} -undefined dynamic_lookup")
endif()
## LibZMQ ## LibZMQ
if(WIN32) if(WIN32)

Loading…
Cancel
Save