PROJECT(mexvex_els_calculate) set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}/mexvex_els_calculate) include_directories( ) #Library configuration file( GLOB_RECURSE source_files ./* ) ADD_LIBRARY( mexvex_els_calculate SHARED ${source_files} ) target_link_libraries( mexvex_els_calculate ) FILE( GLOB_RECURSE PROJ_HEADERS *.hh ) INSTALL(FILES ${PROJ_HEADERS} DESTINATION ${LIBRARY_OUTPUT_PATH} PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)