tools/CMakeLists.txt
changeset 8659 e49056d3aba1
parent 8322 50369fa5053b
child 8660 6370e545fd5f
equal deleted inserted replaced
8657:3a957233f459 8659:e49056d3aba1
    13     find_package(SDL_net REQUIRED)
    13     find_package(SDL_net REQUIRED)
    14     find_package(SDL_ttf REQUIRED)
    14     find_package(SDL_ttf REQUIRED)
    15     find_package(SDL_mixer REQUIRED)
    15     find_package(SDL_mixer REQUIRED)
    16     find_package(OGGVORBIS REQUIRED)
    16     find_package(OGGVORBIS REQUIRED)
    17     if(NOT NOAUTOUPDATE)
    17     if(NOT NOAUTOUPDATE)
    18         #needed for SPARKLE_FOUND variable
    18         find_package(Sparkle) #needed for SPARKLE_FOUND variable
    19         find_package(Sparkle QUIET)
       
    20         #needed because the 'if' clause in the script prints silly policy warnings
    19         #needed because the 'if' clause in the script prints silly policy warnings
    21         if(${SPARKLE_FOUND})
    20         if(${SPARKLE_FOUND})
    22             set(SPARKLE_FOUND 1)
    21             set(SPARKLE_FOUND 1)
    23         else()
    22         else()
    24             set(SPARKLE_FOUND 0)
    23             set(SPARKLE_FOUND 0)