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

objectmenu
Günther Brammer 2016-01-18 01:12:11 +01:00
parent 7b7f6023b8
commit debc559bc7
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,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}