forked from Mirrors/openclonk
CMake: Fix building mape on systems with more than one GTK+ CPP flag
parent
1bba764219
commit
aa7e2e91db
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue