A few modifications.
This commit is contained in:
parent
e842755275
commit
735fd5c0ce
@ -35,8 +35,7 @@ find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(OPENDHT REQUIRED opendht>=1.4.0)
|
||||
|
||||
include_directories(
|
||||
"include/"
|
||||
SYSTEM ${OPENDHT_INCLUDE_DIRS})
|
||||
"include/")
|
||||
|
||||
# Define files
|
||||
set(SRCS
|
||||
@ -44,6 +43,7 @@ set(SRCS
|
||||
|
||||
set(HDRS
|
||||
"include/neocomm/channel.hpp"
|
||||
"include/neocomm/neocomm.hpp"
|
||||
"include/neocomm/node.hpp")
|
||||
|
||||
# Define C++ compiler flags
|
||||
@ -53,8 +53,6 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g -O3")
|
||||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os")
|
||||
|
||||
add_definitions(-DVERSION="${TARGET_VERSION}")
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "debug" OR CMAKE_BUILD_TYPE STREQUAL "relwithdebinfo")
|
||||
add_definitions(-DDEBUG)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user