forked from Yadciel/c_tray
fix resource copy for examples
This commit is contained in:
committed by
Dmitry Mikushin
parent
7e4d006443
commit
149cabaee7
@@ -50,7 +50,10 @@ file(GLOB src
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/*.png)
|
${CMAKE_CURRENT_LIST_DIR}/*.png)
|
||||||
|
|
||||||
add_executable(tray_example ${src})
|
add_executable(tray_example ${src})
|
||||||
target_link_libraries(tray_example INTERFACE tray_base)
|
target_link_libraries(tray_example INTERFACE tray)
|
||||||
|
|
||||||
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/icon.ico ${CMAKE_BINARY_DIR}/icon.ico COPYONLY)
|
||||||
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/icon.png ${CMAKE_BINARY_DIR}/icon.png COPYONLY)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
|||||||
Reference in New Issue
Block a user