mirror of https://github.com/PCSX2/pcsx2.git
cmake: add some properties to compile on fedora 64 bits
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4320 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
32911cb7c5
commit
052cd4d45e
|
@ -22,6 +22,13 @@ if(NOT PACKAGE_MODE)
|
||||||
endif(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
endif(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||||
endif(NOT PACKAGE_MODE)
|
endif(NOT PACKAGE_MODE)
|
||||||
|
|
||||||
|
# 64 bits specific configuration
|
||||||
|
if(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||||
|
# Do not search library in /usr/lib64
|
||||||
|
SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS OFF)
|
||||||
|
# Probably useless but it will not harm
|
||||||
|
SET_PROPERTY(GLOBAL PROPERTY COMPILE_DEFINITIONS "-m32")
|
||||||
|
endif(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||||
|
|
||||||
# set module path
|
# set module path
|
||||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||||
|
|
Loading…
Reference in New Issue