Skip to content

Commit 1eab6fb

Browse files
committed
fix cmake for real
1 parent 1c739c0 commit 1eab6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ target_precompile_headers(${PROJECT_NAME}_tests PRIVATE "${SOURCE_DIR}/precompil
139139
# ======================================= RESOURCE COPYING =========================================
140140
# We copy the resources directory to the location of the output executable. This is our solution for "resource installing" until we fully set up cpack solution
141141
set(COPIED_RESOURCES_DIR "$<TARGET_FILE_DIR:${PROJECT_NAME}>/resources")
142-
add_custom_command(TARGET ${PROJECT_NAME} ${PROJECT_NAME}_tests POST_BUILD
142+
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
143143
COMMAND ${CMAKE_COMMAND} -E copy_directory "${RESOURCES_DIR}" "${COPIED_RESOURCES_DIR}"
144144
COMMENT "Copying resource directory"
145145
)

0 commit comments

Comments
 (0)