Commit fa483fe6 authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation with CMake.

parent 8e9deac0
......@@ -104,6 +104,8 @@ if(MSVC)
include_directories(${CMAKE_PREFIX_PATH}/include/MSVC)
endif()
add_definitions(-DIN_LINPHONE)
set(GETTEXT_PACKAGE "linphone")
if(ENABLE_RELATIVE_PREFIX)
......
......@@ -106,7 +106,6 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/liblinphone_gitversion.h
COMMAND ${CMAKE_COMMAND} -DGIT_EXECUTABLE=${GIT_EXECUTABLE} -DWORK_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DOUTPUT_DIR=${CMAKE_CURRENT_BINARY_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/gitversion.cmake)
add_definitions(
-DIN_LINPHONE
-DUSE_BELLESIP
-DLIBLINPHONE_EXPORTS
)
......
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