Skip to content

Commit

Permalink
Compact code
Browse files Browse the repository at this point in the history
  • Loading branch information
Makman2 committed Nov 4, 2021
1 parent 873035f commit 3b68398
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions macros/CompileGResources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ function(COMPILE_GRESOURCES output xml_out)
# Create target manually if not set (to make sure glib-compile-resources
# doesn't change behaviour with it's naming standards).
if (NOT CG_ARG_TARGET)
set(CG_ARG_TARGET "${CMAKE_CURRENT_BINARY_DIR}/resources")
set(CG_ARG_TARGET "${CG_ARG_TARGET}.${CG_TARGET_FILE_ENDING}")
set(CG_ARG_TARGET "${CMAKE_CURRENT_BINARY_DIR}/resources.${CG_TARGET_FILE_ENDING}")
endif()

# Add compilation target for resources.
Expand Down

0 comments on commit 3b68398

Please sign in to comment.