python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / alglib / patch-alglib-CMakeLists.patch
blobb91a0c0aefd64d13b19a70009bf38498f2d762bc
1 --- /dev/null
2 +++ b/CMakeLists.txt
3 @@ -0,0 +1,20 @@
4 +cmake_minimum_required(VERSION 2.8)
6 +project(alglib3 CXX)
8 +file(GLOB_RECURSE sources src/*.cpp)
9 +file(GLOB_RECURSE headers src/*.h)
11 +add_library(${PROJECT_NAME} STATIC ${sources} ${headers})
13 +install(
14 + TARGETS ${PROJECT_NAME}
15 + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
16 + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
17 + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
20 +install(
21 + FILES ${headers}
22 + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alglib