Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LoadStaticSharedTargets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
LoadStaticSharedTargets
Commits
00fd8b05
Unverified
Commit
00fd8b05
authored
1 year ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Fix usage of global property GENERATOR_IS_MULTI_CONFIG
parent
206c51a2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
with
2 additions
and
1 deletion
CMakeLists.txt
+
2
−
1
View file @
00fd8b05
...
@@ -43,7 +43,8 @@ endif ()
...
@@ -43,7 +43,8 @@ endif ()
# LoadStaticSharedTargets is a CMake script, which we never want to debug
# LoadStaticSharedTargets is a CMake script, which we never want to debug
# If using a multi config generator
# If using a multi config generator
if
(
GENERATOR_IS_MULTI_CONFIG
)
get_property
(
_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG
)
if
(
_IS_MULTI_CONFIG
)
set
(
CMAKE_CONFIGURATION_TYPES
"Release"
)
set
(
CMAKE_CONFIGURATION_TYPES
"Release"
)
set
(
CMAKE_DEFAULT_BUILD_TYPE
"Release"
)
set
(
CMAKE_DEFAULT_BUILD_TYPE
"Release"
)
# If using a single config generator
# If using a single config generator
...
...
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