projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
733b186
)
Get rid of CLion warnings about undefined PACKAGE_* macros
author
Jennifer Richards
<jennifer@painless-security.com>
Wed, 18 Apr 2018 14:09:10 +0000
(10:09 -0400)
committer
Jennifer Richards
<jennifer@painless-security.com>
Wed, 18 Apr 2018 14:09:10 +0000
(10:09 -0400)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
f7bff87
..
17843d1
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-14,6
+14,11
@@
include_directories(${GLIB_INCLUDE_DIRS})
include_directories(include)
+# Fill these in so CLion doesn't complain. The real versions are set in the Makefile
+add_definitions(-DPACKAGE_VERSION="built-with-cmake"
+ -DPACKAGE_NAME="Moonshot Trust Router"
+ -DPACKAGE_BUGREPORT="bugs@painless-security.com")
+
set(SOURCE_FILES
common/tests/cfg_test.c
common/tests/commtest.c