Line | |
---|
1 | set(LibArchive_ROOT_ "/opt/libarchive" CACHE PATH "")
|
---|
2 | set(ZLIB_ROOT_ "/opt/zlib" CACHE PATH "")
|
---|
3 |
|
---|
4 | set(LibArchive_INCLUDEDIR ${LibArchive_ROOT_}/include CACHE STRING "")
|
---|
5 | set(LibArchive_LIBRARYDIR ${LibArchive_ROOT_}/lib32 CACHE STRING "")
|
---|
6 |
|
---|
7 | set(ZLIB_INCLUDEDIR ${ZLIB_ROOT_}/include CACHE STRING "")
|
---|
8 | set(ZLIB_LIBRARYDIR ${ZLIB_ROOT_}/lib32 CACHE STRING "")
|
---|
9 |
|
---|
10 | set(CMAKE_C_FLAGS -m32 CACHE STRING "" FORCE)
|
---|
11 | set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS_RELEASE} CACHE STRING "" FORCE)
|
---|
12 | set(CMAKE_MODULE_LINKER_FLAGS -m32 CACHE STRING "" FORCE)
|
---|
13 | set(CMAKE_EXE_LINKER_FLAGS -m32 CACHE STRING "" FORCE)
|
---|
14 | set(CMAKE_SHARED_LINKER_FLAGS -m32 CACHE STRING "" FORCE)
|
---|
15 |
|
---|
16 | set(CMAKE_C_FLAGS_RELEASE "-Wall -O3 -pipe -march=prescott -m32 -fvisibility=hidden" CACHE STRING "" FORCE)
|
---|
17 | set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE} CACHE STRING "" FORCE)
|
---|
18 | set(CMAKE_MODULE_LINKER_FLAGS_RELEASE -m32 CACHE STRING "" FORCE)
|
---|
19 | set(CMAKE_EXE_LINKER_FLAGS_RELEASE -m32 CACHE STRING "" FORCE)
|
---|
20 | set(CMAKE_SHARED_LINKER_FLAGS_RELEASE -m32 CACHE STRING "" FORCE)
|
---|
21 |
|
---|
22 | set(BUILD_STATIC_EXECUTABLE ON CACHE BOOL "")
|
---|
23 | set(CMAKE_BUILD_TYPE Release CACHE STRING "")
|
---|
24 | set(FIND_LIBRARY_USE_LIB64_PATHS OFF CACHE BOOL "")
|
---|
Note:
See
TracBrowser
for help on using the repository browser.