mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-04 03:22:07 +08:00
perf(*): change multiversioning target clones to x86-64-v3 and x86-64-v4
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
|
||||
project(video2x VERSION 6.3.1 LANGUAGES CXX)
|
||||
|
||||
# The FindBoost module is removed in CMake 3.30
|
||||
@@ -346,10 +346,10 @@ target_include_directories(libvideo2x PRIVATE
|
||||
)
|
||||
|
||||
# Set the compile options for the shared library
|
||||
if(MSVC)
|
||||
target_compile_options(libvideo2x PRIVATE $<$<CONFIG:Debug>:/Zi /DDEBUG>)
|
||||
else()
|
||||
target_compile_options(libvideo2x PRIVATE -fPIC $<$<CONFIG:Debug>:-g -DDEBUG>)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
target_compile_options(libvideo2x PRIVATE $<$<CONFIG:Debug>:/Zi /Od /MDd>)
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
||||
target_compile_options(libvideo2x PRIVATE -fPIC $<$<CONFIG:Debug>:-g -O0>)
|
||||
endif()
|
||||
|
||||
# Define the paths to the shared libraries
|
||||
|
||||
Reference in New Issue
Block a user