Skip to content

Commit f9d45ee

Browse files
authored
Change base arch from nehalem to ivybridge (#138)
1 parent 88343cf commit f9d45ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ include("cmake/toml.cmake")
8080
add_library(svs_x86_options_base INTERFACE)
8181
add_library(svs::x86_options_base ALIAS svs_x86_options_base)
8282
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
83-
target_compile_options(svs_x86_options_base INTERFACE -march=nehalem -mtune=nehalem)
83+
target_compile_options(svs_x86_options_base INTERFACE -march=ivybridge -mtune=ivybridge)
8484
include("cmake/multi-arch.cmake")
8585
endif()
8686

@@ -120,7 +120,7 @@ set(LIB_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/svs")
120120

121121
# Install headers and target information.
122122
install(
123-
TARGETS svs_export svs_devel svs_compile_options svs_native_options
123+
TARGETS svs_export svs_devel svs_compile_options svs_native_options svs_x86_options_base
124124
EXPORT svs-targets
125125
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
126126
)

0 commit comments

Comments
 (0)