Skip to content

Commit

Permalink
Merge pull request #1484 from colincornaby/resourceDatFixOnMac
Browse files Browse the repository at this point in the history
Fixes for finding png crush executable
  • Loading branch information
Hoikas authored Sep 12, 2023
2 parents cfe6406 + 175cfaf commit 46966e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Plasma/Apps/plClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ cmake_dependent_option(RESOURCE_BRUTE "Allow pngcrush brute-force optimization"
if(PLASMA_BUILD_RESOURCE_DAT)
set(external_DAT "${CMAKE_CURRENT_BINARY_DIR}/resource.dat")
if(RESOURCE_OPTIMIZE)
string(APPEND OPTIMIZE_ARGUMENT "--pngcrush \"${PNGCRUSH_EXECUTABLE}\" ")
list(APPEND OPTIMIZE_ARGUMENT --pngcrush "${PNGCRUSH_EXECUTABLE}")
endif()
if(RESOURCE_BRUTE)
string(APPEND OPTIMIZE_ARGUMENT "--brute ")
list(APPEND OPTIMIZE_ARGUMENT "--brute")
endif()

add_custom_command(
Expand Down

0 comments on commit 46966e4

Please sign in to comment.