cmake_minimum_required (VERSION 2.8) project (RS232_recive CXX) include_directories (~/Dropbox/Dissertação/Testes/rs232/reciver) find_package(Boost 1.52.0 COMPONENTS system filesystem REQUIRED) add_executable(reciver rs232_reciver.cpp ) target_link_libraries(reciver ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} )