FILE(GLOB SOURCES src/*.cpp) #compiling library add_library(maca_common STATIC ${SOURCES}) #target_link_libraries(maca_common dynet)