projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drop -O0 for debug builds
[project/netifd.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
a6e228a
..
d20b490
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-32,10
+32,14
@@
ELSE()
ENDIF()
IF(DEBUG)
- ADD_DEFINITIONS(-DDEBUG -
O0 -
-std=gnu99 -g3)
+ ADD_DEFINITIONS(-DDEBUG --std=gnu99 -g3)
ENDIF()
ADD_EXECUTABLE(netifd ${SOURCES})
TARGET_LINK_LIBRARIES(netifd ${LIBS})
+
+INSTALL(TARGETS netifd
+ RUNTIME DESTINATION sbin
+)