Skip to content

Commit

Permalink
!fixup Dom's CMake review
Browse files Browse the repository at this point in the history
  • Loading branch information
Veratil committed Mar 30, 2024
1 parent 529c249 commit b6c78d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cmake/modules/FindGig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
include(ImportedTargetHelpers)

find_package_config_mode_with_fallback(gig libgig::libgig
LIBRARY_NAMES "libgig"
LIBRARY_NAMES "gig"
INCLUDE_NAMES "libgig/gig.h"
PKG_CONFIG Gig
PKG_CONFIG gig
PREFIX Gig
)

DETERMINE_VERSION_FROM_SOURCE(Gig_VERSION libgig::libgig [[
determine_version_from_source(Gig_VERSION libgig::libgig [[
#include <iostream>
#include <libgig/gig.h>

Expand All @@ -29,4 +29,4 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Gig
REQUIRED_VARS Gig_LIBRARY Gig_INCLUDE_DIRS
VERSION_VAR Gig_VERSION
)
)
2 changes: 1 addition & 1 deletion plugins/GigPlayer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if(LMMS_HAVE_GIG)
ENDIF()

# disable deprecated check for mingw-x-libgig
if(LMMS_BUILD_WIN32 AND MINGW)
if(MINGW)
SET(GCC_GIG_COMPILE_FLAGS "-Wno-deprecated")
add_definitions(${GCC_GIG_COMPILE_FLAGS})
endif()
Expand Down

0 comments on commit b6c78d0

Please sign in to comment.