Fix cmake compile definitions
This commit is contained in:
parent
7996b25621
commit
8862bbd5dd
|
|
@ -47,10 +47,10 @@ pkg_check_modules(LIBPROCPS libprocps)
|
|||
pkg_check_modules(LIBPROC2 libproc2)
|
||||
|
||||
if (LIBPROCPS_FOUND)
|
||||
add_compile_definitions(USE_OLD_PID_VAL=0)
|
||||
#add_compile_definitions(USE_OLD_PID_VAL=0)
|
||||
elseif (LIBPROC2_FOUND)
|
||||
if (LIBPROC2_VERSION VERSION_GREATER_EQUAL "4.0.5")
|
||||
add_compile_definitions(USE_OLD_PID_VAL=0)
|
||||
#add_compile_definitions(USE_OLD_PID_VAL=0)
|
||||
else()
|
||||
add_compile_definitions(USE_OLD_PID_VAL=1)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 249e46c730d460335033c23aa35f075aaac9d218
|
||||
Subproject commit 0f91bea30aec1a1214d68d2675907063984a7868
|
||||
Loading…
Reference in New Issue