-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed wrong cmake configurations and removed deprecated architecture …
…detection
- Loading branch information
Showing
3 changed files
with
20 additions
and
165 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
# Requires: Set variable CMAKE_MODULE_PATH | ||
# Defines: PAX_OS_ARCHITECTURE | ||
|
||
#include(${CMAKE_MODULE_PATH}/TargetArch.cmake) | ||
set(PAX_OS_ARCHITECTURE x64) # This is the default value | ||
set(PAX_OS_ARCHITECTURE x86) # This is the default value | ||
|
||
if (CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
set(PAX_OS_ARCHITECTURE x64) | ||
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
set(PAX_OS_ARCHITECTURE x86) | ||
else() | ||
message(WARNING "Unknown Architecture: CMAKE_SIZEOF_VOID_P is ${CMAKE_SIZEOF_VOID_P}") | ||
message(WARNING "Continuing with ${PAX_OS_ARCHITECTURE}") | ||
endif() | ||
|
||
|
||
#target_architecture(PAX_OS_ARCHITECTURE) | ||
#simplifyArchitecture(PAX_OS_ARCHITECTURE) | ||
message("PAX_OS_ARCHITECTURE is ${PAX_OS_ARCHITECTURE}") |
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 was deleted.
Oops, something went wrong.