mirror of
https://github.com/halpz/re3
synced 2024-11-16 07:47:44 +01:00
CMake: MSS / mpg123 compilation fixes
This commit is contained in:
parent
253021866c
commit
1402b9ed72
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ find_package_handle_standard_args(MilesSDK DEFAULT_MSG MilesSDK_LIBRARIES MilesS
|
||||||
if(NOT TARGET MilesSDK::MilesSDK)
|
if(NOT TARGET MilesSDK::MilesSDK)
|
||||||
add_library(MilesSDK::MilesSDK UNKNOWN IMPORTED)
|
add_library(MilesSDK::MilesSDK UNKNOWN IMPORTED)
|
||||||
set_target_properties(MilesSDK::MilesSDK PROPERTIES
|
set_target_properties(MilesSDK::MilesSDK PROPERTIES
|
||||||
IMPORTED_LOCATION "${MilesSDK_LIBRARIES}
|
IMPORTED_LOCATION "${MilesSDK_LIBRARIES}"
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${MilesSDK_INCLUDE_DIR}"
|
INTERFACE_INCLUDE_DIRECTORIES "${MilesSDK_INCLUDE_DIR}"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -18,7 +18,7 @@ find_path(mpg123_INCLUDE_DIR mpg123.h
|
||||||
PATH_SUFFIXES include
|
PATH_SUFFIXES include
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(mpg123_LIBRARIES NAMES mpg123 mpg123-0
|
find_library(mpg123_LIBRARIES NAMES mpg123 mpg123-0 libmpg123-0
|
||||||
HINTS ${PKG_MPG123_LIBRARIES}
|
HINTS ${PKG_MPG123_LIBRARIES}
|
||||||
PATHS "${mpg123_DIR}"
|
PATHS "${mpg123_DIR}"
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib
|
||||||
|
|
Loading…
Reference in a new issue