Build fix on OS X for perf util
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:32:51 -0800
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.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})