summaryrefslogtreecommitdiff
path: root/pkgs/pocket-tts-cpp-install-targets.patch
blob: 514cda2cdad027d1822be8c228d01d34bfe3438e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a37ce46..e7fa257 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,6 +70,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
     target_link_libraries(pocket-tts PRIVATE ws2_32)
 endif()
 
+install(TARGETS pocket-tts DESTINATION bin)
 
 # Shared library (for FFI from Deno/Python)
 # Build with: cmake -B .build -DBUILD_SHARED_LIB=ON
@@ -104,6 +105,7 @@ if(BUILD_SHARED_LIB)
         target_link_libraries(pocket-tts-lib PRIVATE ws2_32)
     endif()
 
+    install(TARGETS pocket-tts-lib DESTINATION lib)
 endif()
 
 # =============================================================================