File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ cmake_minimum_required(VERSION 3.31)
1616project (qsim)
1717
1818IF (WIN32 )
19- add_compile_options (CMAKE_CXX_FLAGS " /arch:AVX2" )
19+ add_compile_options (/arch:AVX2)
2020ELSE ()
21- add_compile_options (CMAKE_CXX_FLAGS " -mavx2 -mfma" )
21+ add_compile_options (-mavx2 -mfma)
2222ENDIF ()
2323
2424INCLUDE (../GetPybind11.cmake)
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ cmake_minimum_required(VERSION 3.31)
1616project (qsim)
1717
1818IF (WIN32 )
19- add_compile_options (CMAKE_CXX_FLAGS " /arch:AVX512" )
19+ add_compile_options (/arch:AVX512)
2020ELSE ()
21- add_compile_options (CMAKE_CXX_FLAGS " -mavx512f -mbmi2" )
21+ add_compile_options (-mavx512f -mbmi2)
2222ENDIF ()
2323
2424INCLUDE (../GetPybind11.cmake)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cmake_minimum_required(VERSION 3.31)
1616project (qsim)
1717
1818if (NOT WIN32 )
19- add_compile_options (" -msse4.1" )
19+ add_compile_options (-msse4.1)
2020endif ()
2121
2222INCLUDE (../GetPybind11.cmake)
You can’t perform that action at this time.
0 commit comments