4 +cmake_minimum_required(VERSION 2.8)
8 +file(GLOB_RECURSE sources src/*.cpp)
9 +file(GLOB_RECURSE headers src/*.h)
11 +add_library(${PROJECT_NAME} STATIC ${sources} ${headers})
14 + TARGETS ${PROJECT_NAME}
15 + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
16 + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
17 + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
22 + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alglib