1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00
Related to #1585.

(cherry picked from commit 04f7f55f07)
This commit is contained in:
Camilla Löwy 2019-10-24 16:20:43 +02:00
parent 411d4dd51e
commit 91c6a542ff
2 changed files with 4 additions and 5 deletions

View File

@ -282,6 +282,7 @@ skills.
- Konstantin Podsvirov
- Nathan Poirier
- Alexandre Pretyman
- Pablo Prietz
- przemekmirek
- Guillaume Racicot
- Philip Rideout
@ -337,7 +338,6 @@ skills.
- Santi Zupancic
- Jonas Ådahl
- Lasse Öörni
- Pablo Prietz
- All the unmentioned and anonymous contributors in the GLFW community, for bug
reports, patches, feedback, testing and encouragement

View File

@ -100,10 +100,9 @@ set_target_properties(glfw PROPERTIES
POSITION_INDEPENDENT_CODE ON
FOLDER "GLFW3")
if (
${CMAKE_VERSION} VERSION_EQUAL "3.1.0" OR
${CMAKE_VERSION} VERSION_GREATER "3.1.0"
)
if (${CMAKE_VERSION} VERSION_EQUAL "3.1.0" OR
${CMAKE_VERSION} VERSION_GREATER "3.1.0")
set_target_properties(glfw PROPERTIES C_STANDARD 99)
else()
# Remove this fallback when removing support for CMake version less than 3.1