add_library(comparatorCore SHARED comparatorCore.cpp ) set_target_properties(comparatorCore PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR} ) target_include_directories(comparatorCore PUBLIC ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/smocore/include ) target_link_libraries(comparatorCore PUBLIC spinscale ) install(TARGETS comparatorCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} NAMELINK_SKIP )