cmake : add CMAKE_RUNTIME_OUTPUT_DIRECTORY

Currently needed by the wasm examples
This commit is contained in:
Georgi Gerganov 2023-01-05 21:40:59 +02:00
parent 0a0cfa7985
commit 4a214d2f07
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@ cmake_minimum_required (VERSION 3.19)
project(whisper.cpp VERSION 1.0.4) project(whisper.cpp VERSION 1.0.4)
# Add path to modules # Add path to modules
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" ) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(WHISPER_STANDALONE ON) set(WHISPER_STANDALONE ON)

File diff suppressed because one or more lines are too long