Add options for x86_64
This commit is contained in:
parent
5f327cebd2
commit
1729486651
@ -14,6 +14,11 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=pentium4")
|
||||
ENDIF(NV_SYSTEM_PROCESSOR STREQUAL "i686")
|
||||
|
||||
IF(NV_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=athlon64")
|
||||
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=athlon64 -msse3")
|
||||
ENDIF(NV_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
|
||||
IF(NV_SYSTEM_PROCESSOR STREQUAL "powerpc")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=powerpc -maltivec -mabi=altivec -mpowerpc-gfxopt")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user