diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liblbfgs/CMakeLists.txt | |
Diffstat (limited to 'vcpkg/ports/liblbfgs/CMakeLists.txt')
| -rw-r--r-- | vcpkg/ports/liblbfgs/CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/liblbfgs/CMakeLists.txt b/vcpkg/ports/liblbfgs/CMakeLists.txt new file mode 100644 index 0000000..34220b9 --- /dev/null +++ b/vcpkg/ports/liblbfgs/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 3.12 FATAL_ERROR) +PROJECT(liblbfgs) + +file(GLOB SOURCE_FILE + "lib/*.c" +) +file(GLOB HEADERS_FILE + "include/*.h" + "lib/*.h" +) +include_directories("include") +add_library (lbfgs STATIC ${SOURCE_FILE} ${HEADERS_FILE}) + +install(TARGETS lbfgs + RUNTIME DESTINATION bin + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib +) + + +install(FILES ${HEADERS_FILE} DESTINATION include)
\ No newline at end of file |