aux_source_directory(. SRC_LIST) include_directories(../libkonaclient) link_directories(${GTK3_LIBRARY_DIRS} libkonaclient) add_definitions(${GTK3_CFLAGS_OTHER}) add_executable(libkonaclient-test ${SRC_LIST}) # Link the target to the GTK+ libraries target_link_libraries(libkonaclient-test konaclient)