mirror of https://github.com/AxioDL/amuse.git
amuse-mkqticon: Use target_include_directories
This commit is contained in:
parent
aa9ef6e866
commit
f172427991
|
@ -1,6 +1,6 @@
|
||||||
include_directories(${PNG_INCLUDE_DIR})
|
|
||||||
add_executable(amuse-mkqticon mkqticon.c)
|
add_executable(amuse-mkqticon mkqticon.c)
|
||||||
target_link_libraries(amuse-mkqticon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
|
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)
|
macro(declare_qticon_target)
|
||||||
add_custom_command(OUTPUT ${amuse_BINARY_DIR}/Editor/platforms/freedesktop/mainicon_qt.bin
|
add_custom_command(OUTPUT ${amuse_BINARY_DIR}/Editor/platforms/freedesktop/mainicon_qt.bin
|
||||||
|
|
Loading…
Reference in New Issue