CMake: Fix building mape on systems with more than one GTK+ CPP flag

stable-7
Günther Brammer 2016-01-18 01:12:11 +01:00 committed by Maikel de Vries
parent 1bba764219
commit aa7e2e91db
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ endif()
if(GTK3_FOUND AND GTK3_gtksourceview_FOUND)
add_executable(mape ${MAPE_BASE_SOURCES} ${MAPE_SOURCES})
set_property(TARGET mape APPEND PROPERTY COMPILE_FLAGS ${GTK3_COMPILE_DEFINITIONS})
target_compile_options(mape PRIVATE ${GTK3_COMPILE_DEFINITIONS} ${GTK3_gtksourceview_COMPILE_DEFINITIONS})
target_include_directories(mape PRIVATE ${GTK3_INCLUDE_DIRS} ${GTK3_gtksourceview_INCLUDE_DIRS})
target_link_libraries(mape
${GTK3_LIBRARIES}