PkgConfig package is needed only on Linux for determinate Maemo platform
This commit is contained in:
parent
eb48ddcd92
commit
3aa2e8230e
1 changed files with 1 additions and 2 deletions
|
@ -558,10 +558,9 @@ if(UNIX AND CMAKE_SYSTEM_NAME MATCHES BSD)
|
|||
set(BSD true)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig QUIET REQUIRED)
|
||||
|
||||
# Check if platform is Maemo
|
||||
if(UNIX AND CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||
find_package(PkgConfig QUIET REQUIRED)
|
||||
pkg_check_modules(MAEMO_VERSION maemo-version)
|
||||
if(MAEMO_VERSION_FOUND)
|
||||
set(MAEMO true)
|
||||
|
|
Loading…
Add table
Reference in a new issue