PROJECT(DDClientLibCpp) include_directories( ${CMAKE_HOME_DIRECTORY}/src/DDClientLibCpp/INCLUDE/ ) #Library configuration file( GLOB_RECURSE source_files ./* ) ADD_LIBRARY( DDClientLibCpp SHARED ${source_files} ) target_link_libraries( DDClientLibCpp ${TIRPC} ${CMAKE_THREAD_LIBS_INIT} ) install (TARGETS DDClientLibCpp DESTINATION lib)