INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/tests # ${CMAKE_BINARY_DIR}/src ) LINK_DIRECTORIES( # ${CMAKE_BINARY_DIR}/lemon ) ADD_EXECUTABLE(circulation circulation.cc main.cc ) TARGET_LINK_LIBRARIES(circulation lemon ) ## This tells cmake to install 'lemon-project' to $PREFIX/bin when ## 'make install' is executed. You can give more targets separated ## by whitespaces. INSTALL( TARGETS RUNTIME DESTINATION ${INSTALL_BIN_DIR} COMPONENT bin )