-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Cable: CMake Bootstrap Library. | ||
# Copyright 2018 Pawel Bylica. | ||
# Licensed under the Apache License, Version 2.0. See the LICENSE file. | ||
|
||
set(CMAKE_SYSTEM_PROCESSOR powerpc64) | ||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(CMAKE_C_COMPILER powerpc64-linux-gnu-gcc) | ||
set(CMAKE_CXX_COMPILER powerpc64-linux-gnu-g++) | ||
|
||
set(CMAKE_FIND_ROOT_PATH /usr/powerpc64-linux-gnu) | ||
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) | ||
|
||
set(CMAKE_CROSSCOMPILING_EMULATOR qemu-ppc64-static;-L;${CMAKE_FIND_ROOT_PATH}) |