add themes and post build event to auto deploy
This commit is contained in:
@@ -371,6 +371,12 @@ TARGET_LINK_LIBRARIES (noggit
|
||||
sol2::sane
|
||||
)
|
||||
|
||||
# deploy additional resources
|
||||
add_custom_command(TARGET noggit POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
"${PROJECT_SOURCE_DIR}/resources/themes"
|
||||
$<TARGET_FILE_DIR:noggit>/themes)
|
||||
|
||||
SET_PROPERTY(TARGET noggit PROPERTY AUTOMOC ON)
|
||||
|
||||
IF(APPLE)
|
||||
|
||||
Reference in New Issue
Block a user