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
OpenDAS
tilelang
Commits
5b9015a3
"...api/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "827fad66a02745093de94e8a926f74e896833b2a"
Commit
5b9015a3
authored
Jun 04, 2025
by
botbw
Committed by
LeiWang1999
Jun 04, 2025
Browse files
[Refactor] set default build type to release if not provided (#548)
parent
20810691
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
5b9015a3
...
@@ -5,7 +5,9 @@ cmake_minimum_required(VERSION 3.18)
...
@@ -5,7 +5,9 @@ cmake_minimum_required(VERSION 3.18)
project
(
TILE_LANG C CXX
)
project
(
TILE_LANG C CXX
)
# Set default build type to Release if not provided
# Set default build type to Release if not provided
set
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Build type"
FORCE
)
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Build type"
)
endif
()
# Define a custom macro for globbing files with conditional CONFIGURE_DEPENDS
# Define a custom macro for globbing files with conditional CONFIGURE_DEPENDS
if
(
${
CMAKE_VERSION
}
VERSION_GREATER_EQUAL
"3.12.0"
)
if
(
${
CMAKE_VERSION
}
VERSION_GREATER_EQUAL
"3.12.0"
)
...
...
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