build, ci: windows build

This commit is contained in:
Yury Popov
2022-12-02 21:34:33 +03:00
parent a6453f3751
commit 2f068b15a5
5 changed files with 64 additions and 24 deletions
+3 -1
View File
@@ -4,5 +4,7 @@ add_library(speechPlayer STATIC
src/speechWaveGenerator.cpp
)
target_include_directories(speechPlayer PUBLIC include)
target_compile_options(speechPlayer PRIVATE "-fPIC")
if(NOT MSVC)
target_compile_options(speechPlayer PRIVATE "-fPIC")
endif()
install(TARGETS speechPlayer ARCHIVE)