|
|
|
|
9
|
find_package (Threads REQUIRED)
|
9
|
find_package (Threads REQUIRED)
|
10
|
find_package (PkgConfig REQUIRED)
|
10
|
find_package (PkgConfig REQUIRED)
|
11
|
# force the libmaa version to be the required version
|
11
|
# force the libmaa version to be the required version
|
12
|
-pkg_check_modules (MAA REQUIRED maa=0.2.6)
|
|
|
|
|
12
|
+pkg_check_modules (MAA REQUIRED maa>=0.2.6)
|
13
|
message (INFO " found libmaa version: ${MAA_VERSION}")
|
13
|
message (INFO " found libmaa version: ${MAA_VERSION}")
|
14
|
|
14
|
|
15
|
set (CMAKE_SWIG_FLAGS "")
|
15
|
set (CMAKE_SWIG_FLAGS "")
|