1 include_directories("${LIBS3_BUILD_DIR}/include")
2 link_directories("${LIBS3_BUILD_DIR}/lib")
4 add_executable(s3readbench readbench.c)
5 add_executable(s3readlatency readlatency.c)
7 set(CMAKE_C_FLAGS "-Wall -std=gnu99 ${CMAKE_C_FLAGS}")
8 set(INSTALL_RPATH_USE_LINK_PATH 1)
10 target_link_libraries(s3readbench pthread s3)
11 target_link_libraries(s3readlatency pthread s3)