Commit 784fe64b authored by Ghislain MARY's avatar Ghislain MARY

Use ORTP_CPPFLAGS for compilation.

parent 8ecd213d
......@@ -111,7 +111,6 @@ endif()
set(ORTP_CPPFLAGS ${BCTOOLBOX_CPPFLAGS})
if(ENABLE_STATIC)
set(ORTP_STATIC 1)
list(APPEND ORTP_CPPFLAGS "-DORTP_STATIC")
endif()
if(ENABLE_PERF)
......@@ -130,6 +129,9 @@ endif()
if(APPLE)
set(__APPLE_USE_RFC_3542 1)
endif()
if(ORTP_CPPFLAGS)
add_definitions(${ORTP_CPPFLAGS})
endif()
set(POSIXTIMER_INTERVAL 10000)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ortp-config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/ortp-config.h)
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/ortp-config.h PROPERTIES GENERATED ON)
......
......@@ -34,7 +34,6 @@
#cmakedefine ORTP_BIGENDIAN
#cmakedefine PERF
#cmakedefine ORTP_STATIC
#cmakedefine ORTP_TIMESTAMP
#cmakedefine ORTP_DEBUG_MODE
#cmakedefine ORTP_DEFAULT_THREAD_STACK_SIZE ${ORTP_DEFAULT_THREAD_STACK_SIZE}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment