Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Pedro
CMake
Commits
73f7d266
Commit
73f7d266
authored
8 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
FindwxWidgets: Use `MSVC_VERSION` instead of `MSVC##`
parent
e1adec32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/FindwxWidgets.cmake
+5
-5
5 additions, 5 deletions
Modules/FindwxWidgets.cmake
with
5 additions
and
5 deletions
Modules/FindwxWidgets.cmake
+
5
−
5
View file @
73f7d266
...
@@ -498,15 +498,15 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
...
@@ -498,15 +498,15 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
set
(
_WX_TOOL gcc
)
set
(
_WX_TOOL gcc
)
elseif
(
MSVC
)
elseif
(
MSVC
)
set
(
_WX_TOOL vc
)
set
(
_WX_TOOL vc
)
if
(
MSVC
14
)
if
(
MSVC
_VERSION EQUAL 1900
)
set
(
_WX_TOOLVER 140
)
set
(
_WX_TOOLVER 140
)
elseif
(
MSVC
12
)
elseif
(
MSVC
_VERSION EQUAL 1800
)
set
(
_WX_TOOLVER 120
)
set
(
_WX_TOOLVER 120
)
elseif
(
MSVC
11
)
elseif
(
MSVC
_VERSION EQUAL 1700
)
set
(
_WX_TOOLVER 110
)
set
(
_WX_TOOLVER 110
)
elseif
(
MSVC
1
0
)
elseif
(
MSVC
_VERSION EQUAL 160
0
)
set
(
_WX_TOOLVER 100
)
set
(
_WX_TOOLVER 100
)
elseif
(
MSVC
9
0
)
elseif
(
MSVC
_VERSION EQUAL 150
0
)
set
(
_WX_TOOLVER 90
)
set
(
_WX_TOOLVER 90
)
endif
()
endif
()
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment