Fix build of tester with CMake.

This commit is contained in:
Ghislain MARY 2015-03-18 15:20:21 +01:00
parent c05b0ace94
commit a3b8cf6b2b

View file

@ -56,7 +56,7 @@ add_definitions(-DBC_CONFIG_FILE="config.h")
add_executable(liblinphone_tester ${SOURCE_FILES})
set_target_properties(liblinphone_tester PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(liblinphone_tester PUBLIC ${CUNIT_INCLUDE_DIRS})
target_include_directories(liblinphone_tester PUBLIC ${CUNIT_INCLUDE_DIRS} PRIVATE common)
target_link_libraries(liblinphone_tester linphone ${CUNIT_LIBRARIES})
if (GTK2_FOUND)
target_compile_definitions(liblinphone_tester PRIVATE HAVE_GTK)