2019-02-05 10:37:30 +01:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index f0c8fd2..c1a8092 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -8,8 +8,8 @@ set(project_name "svt-av1")
|
|
|
|
|
|
|
|
project(${project_name} C ASM_NASM)
|
|
|
|
|
|
|
|
-set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib)
|
|
|
|
-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib)
|
|
|
|
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib${LIB_SUFFIX})
|
|
|
|
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/lib${LIB_SUFFIX})
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/bin)
|
|
|
|
|
|
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
2019-02-05 11:47:07 +01:00
|
|
|
diff --git a/Source/Lib/Codec/CMakeLists.txt b/Source/Lib/Codec/CMakeLists.txt
|
|
|
|
index 8d48d0a..66cb431 100644
|
|
|
|
--- a/Source/Lib/Codec/CMakeLists.txt
|
|
|
|
+++ b/Source/Lib/Codec/CMakeLists.txt
|
|
|
|
@@ -35,6 +35,14 @@ file(GLOB all_files
|
|
|
|
add_library(SvtAv1Enc SHARED
|
|
|
|
${all_files}
|
|
|
|
)
|
|
|
|
+SET_TARGET_PROPERTIES(
|
|
|
|
+ SvtAv1Enc
|
|
|
|
+ PROPERTIES
|
|
|
|
+ SOVERSION 0
|
|
|
|
+ VERSION 0.0.0
|
|
|
|
+ )
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
|
|
target_link_libraries(SvtAv1Enc
|