Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
55e635e5
"tests/fixtures/custom_pipeline/what_ever.py" did not exist on "d9c449ea30a4a3e8ed73883b45ae07a7177f60a5"
Commit
55e635e5
authored
Nov 23, 2023
by
Artur Wojcik
Browse files
checking exist is not required for cache variables
parent
dd12b74f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
CMakeLists.txt
CMakeLists.txt
+5
-9
No files found.
CMakeLists.txt
View file @
55e635e5
...
...
@@ -34,16 +34,12 @@ get_property(MIGRAPHX_GENERATOR_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MUL
# This has to be initialized before the project() command appears
# Set the default of CMAKE_BUILD_TYPE to be release, unless user specifies with -D. MSVC_IDE does not use CMAKE_BUILD_TYPE
if
(
NOT MIGRAPHX_GENERATOR_IS_MULTI_CONFIG
)
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
)
set_property
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
${
MIGRAPHX_CONFIGURATION_TYPES
}
)
endif
()
else
()
if
(
NOT CMAKE_CONFIGURATION_TYPES
)
set
(
CMAKE_CONFIGURATION_TYPES
${
MIGRAPHX_CONFIGURATION_TYPES
}
CACHE STRING
"Available build types (configurations) on multi-config generators"
)
endif
()
endif
()
if
(
NOT WIN32
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment