PROJECT(helpers) include_directories( ${Boost_INCLUDE_DIR} ${LOG4CXX_INCLUDE_DIR} ) #Configuration de la librairie file( GLOB_RECURSE source_files ./* ) ADD_LIBRARY( helpers SHARED ${source_files} ) target_link_libraries( helpers ${Boost_LIBRARIES} rt )