all repos — mgba @ e141db9493f7342a091e06b4a2b0902634b76bef

mGBA Game Boy Advance Emulator

Build fix on OS X for perf util
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:32:51 -0800
commit

e141db9493f7342a091e06b4a2b0902634b76bef

parent

48e89fb5eb6aa1151d211084c177517307d73ac4

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -51,7 +51,9 @@ endif()

if(BUILD_PERF) set(MAIN_SRC ${CMAKE_SOURCE_DIR}/src/platform/perf-main.c) - set(EXTRA_LIB ${EXTRA_LIB} rt) + if(UNIX AND NOT APPLE) + set(EXTRA_LIB ${EXTRA_LIB} rt) + endif() endif() add_executable(${BINARY_NAME} WIN32 ${ARM_SRC} ${GBA_SRC} ${DEBUGGER_SRC} ${RENDERER_SRC} ${UTIL_SRC} ${PLATFORM_SRC} ${OS_SRC} ${MAIN_SRC})