Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
85d930e5
Commit
85d930e5
authored
Sep 28, 2017
by
Ronan
Browse files
fix(CMakeLists.txt): add correctly DEBUG variable
parent
8ba35cf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
CMakeLists.txt
CMakeLists.txt
+2
-6
No files found.
CMakeLists.txt
View file @
85d930e5
...
...
@@ -70,12 +70,8 @@ set(CMAKE_CXX_STANDARD 11)
if
(
NOT CMAKE_BUILD_TYPE
)
set
(
CMAKE_BUILD_TYPE
"Release"
)
endif
()
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O2 -DNDEBUG"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-DDEBUG"
)
if
(
NOT WIN32
)
list
(
APPEND CMAKE_CXX_FLAGS_DEBUG
"-g"
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
add_definitions
(
"-DDEBUG"
)
endif
()
if
(
ENABLE_STATIC
)
...
...
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