amuse-mkqticon: Use target_include_directories

This commit is contained in:
Luke Street 2020-06-13 17:17:14 -04:00
parent aa9ef6e866
commit f172427991
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
include_directories(${PNG_INCLUDE_DIR})
add_executable(amuse-mkqticon mkqticon.c)
target_link_libraries(amuse-mkqticon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
target_include_directories(amuse-mkqticon PRIVATE ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
macro(declare_qticon_target)
add_custom_command(OUTPUT ${amuse_BINARY_DIR}/Editor/platforms/freedesktop/mainicon_qt.bin