cmake : put libs in /bin

This commit is contained in:
Georgi Gerganov 2025-01-24 14:40:48 +02:00
parent ff4cb6ef4c
commit 3a35bfe1f7
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 68 additions and 19 deletions

View file

@ -16,6 +16,7 @@ endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(LLAMA_STANDALONE ON)