Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
f23129c3
Commit
f23129c3
authored
Apr 26, 2021
by
Shervin Nourbakhsh
Browse files
CMAKE_BUILD_TYPE forced to Release if not defined
parent
9e5e6574
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f23129c3
...
...
@@ -8,6 +8,10 @@ project(cameo
option
(
CAMEO_API_CPP
"Compile and install cameo C++ api"
OFF
)
option
(
CAMEO_API_PYTHON
"Compile and install cameo Python api"
OFF
)
if
(
NOT DEFINED
${
CMAKE_BUILD_TYPE
}
)
set
(
CMAKE_BUILD_TYPE
"Release"
)
# set Release by default
endif
()
message
(
STATUS
"Build type:
${
CMAKE_BUILD_TYPE
}
"
)
if
(
${
CAMEO_API_CPP
}
)
list
(
APPEND APIs cameo-api-cpp
)
...
...
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