Skip to content

Commit 713864a

Browse files
Fix Mac builds
1 parent 38bb857 commit 713864a

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
@@ -14,9 +14,9 @@ else (DEFINED ENV{BOOST_ROOT})
1414
endif (DEFINED ENV{BOOST_ROOT})
1515

1616
if (MSVC)
17-
target_compile_options(_find_a_factor PUBLIC /std:c++17 /O3)
17+
target_compile_options(_find_a_factor PUBLIC /O3 /std:c++17)
1818
else (MSVC)
19-
target_compile_options(_find_a_factor PUBLIC -std=c++17 -O3 -lpthread)
19+
target_compile_options(_find_a_factor PUBLIC -O3 -std=c++17 -lpthread)
2020
endif (MSVC)
2121

2222
install(TARGETS _find_a_factor DESTINATION .)

0 commit comments

Comments
 (0)