-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[freeglut] Don't enforce x64 when the compiler is 64 bit (#16911)
* [freeglut] Don't enforce x64 when the compiler is 64 bit This fixes compilation for ARM64. * [freeglut] Update manifest * Update ports/freeglut/CONTROL * Update versions/f-/freeglut.json * Update versions/baseline.json * Update versions/baseline.json * Update versions/f-/freeglut.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
- Loading branch information
1 parent
9ec6217
commit c91bcb1
Showing
5 changed files
with
27 additions
and
3 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,4 +1,5 @@ | ||
Source: freeglut | ||
Version: 3.2.1-4 | ||
Version: 3.2.1 | ||
Port-Version: 5 | ||
Homepage: https://sourceforge.net/projects/freeglut/ | ||
Description: Open source implementation of GLUT with source and binary backwards compatibility. |
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,17 @@ | ||
diff --git a/CMakeLists.txt.orig b/CMakeLists.txt | ||
index 6f403af..d1ba4e7 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -418,12 +418,6 @@ IF(WIN32) | ||
IF(FREEGLUT_REPLACE_GLUT) | ||
SET_TARGET_PROPERTIES(freeglut_static PROPERTIES OUTPUT_NAME ${LIBNAME}) | ||
ENDIF() | ||
- # need to set machine:x64 for linker, at least for VC10, and | ||
- # doesn't hurt for older compilers: | ||
- # http://public.kitware.com/Bug/view.php?id=11240#c22768 | ||
- IF (CMAKE_CL_64) | ||
- SET_TARGET_PROPERTIES(freeglut_static PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64") | ||
- ENDIF() | ||
ENDIF() | ||
ELSE() | ||
# on UNIX we need to make sure: |
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
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