diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb096d..bc59655 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ project(yolanda C CXX) set(CMAKE_CXX_STANDARD 11) set(CMAKE_C_STANDARD 99) +set(CMAKE_VERBOSE_MAKEFILE off) + # Put the libaries and binaries that get built into directories at the # top of the build tree rather than in hard-to-find leaf directories. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) diff --git a/chap-30/CMakeLists.txt b/chap-30/CMakeLists.txt index b7c3d40..6859b3d 100644 --- a/chap-30/CMakeLists.txt +++ b/chap-30/CMakeLists.txt @@ -1,2 +1,2 @@ add_executable(aio01 aio01.c) -target_link_libraries(aio01 yolanda) +target_link_libraries(aio01 yolanda rt)