Commit 6eeb863 1 parent dc17d47 commit 6eeb863 Copy full SHA for 6eeb863
File tree 4 files changed +20
-22
lines changed
4 files changed +20
-22
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2006 Milan Digital Audio LLC
2
+ # Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
3
+ # License GPL-2.0 or later
4
+ # (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
5
+
6
+ include (${CMAKE_SOURCE_DIR} /cmake/AddCXXOption.cmake)
7
+
8
+ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" )
9
+ add_cxx_option(-mmmx)
10
+ add_cxx_option(-msse)
11
+ add_cxx_option(-msse2)
12
+ add_cxx_option(-msse3)
13
+ endif ()
14
+
15
+ add_cxx_option(-mstackrealign)
16
+
Original file line number Diff line number Diff line change 5
5
include (${CMAKE_SOURCE_DIR} /cmake/AddLinkerOption.cmake)
6
6
include (${CMAKE_SOURCE_DIR} /cmake/CopyWxTranslations.cmake)
7
7
include (${CMAKE_SOURCE_DIR} /cmake/CopyDependencies.cmake)
8
-
9
- add_option(-mmmx)
10
- add_option(-msse)
11
- add_option(-msse2)
12
- add_option(-msse3)
13
-
14
- add_option(-mstackrealign)
8
+ include (${CMAKE_SOURCE_DIR} /cmake/AddCpuOptions.cmake)
15
9
16
10
find_package (wxWidgets REQUIRED html net adv core base)
17
11
include (${wxWidgets_USE_FILE} )
Original file line number Diff line number Diff line change 1
- add_option(-mmmx)
2
- add_option(-msse)
3
- add_option(-msse2)
4
- add_option(-msse3)
5
-
6
- add_option(-mstackrealign)
7
-
1
+ include (${CMAKE_SOURCE_DIR} /cmake/AddCpuOptions.cmake)
8
2
include (UsewxWidgets)
9
3
include_directories (${CMAKE_BINARY_DIR} /src/core/go_defs.h ${CMAKE_SOURCE_DIR} /src/core)
10
4
Original file line number Diff line number Diff line change 1
1
# Copyright 2006 Milan Digital Audio LLC
2
- # Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
2
+ # Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
3
3
# License GPL-2.0 or later (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
4
4
5
- add_option(-mmmx)
6
- add_option(-msse)
7
- add_option(-msse2)
8
- add_option(-msse3)
9
-
10
- add_option(-mstackrealign)
11
-
5
+ include (${CMAKE_SOURCE_DIR} /cmake/AddCpuOptions.cmake)
12
6
include (UsewxWidgets)
13
7
14
8
include_directories (${CMAKE_BINARY_DIR} /src/core/go_defs.h ${CMAKE_SOURCE_DIR} /src/core)
You can’t perform that action at this time.
0 commit comments