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