projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c3f88
)
Only enable c++11 for c++ files
author
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 12:27:37 +0000
(14:27 +0200)
committer
Milian Wolff
<mail@milianw.de>
Fri, 31 May 2013 12:27:37 +0000
(14:27 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
ba47753
..
150254e
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-4,7
+4,7
@@
project(mallocinfo)
add_library(dumpmallocinfo SHARED dumpmallocinfo.cpp)
target_link_libraries(dumpmallocinfo -lpthread)
-
add_definitions(
"-std=c++11")
+
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}
"-std=c++11")
add_executable(mallocinfo main.cpp)
target_link_libraries(mallocinfo dumpmallocinfo)