all repos — mgba @ 7b4d4e438ae8a06103892fba1c5e103ec7b3a84c

mGBA Game Boy Advance Emulator

Don't look for a package when we don't need to
Jeffrey Pfau jeffrey@endrift.com
Tue, 07 Oct 2014 02:54:05 -0700
commit

7b4d4e438ae8a06103892fba1c5e103ec7b3a84c

parent

bc2979679e71144567e14e696d859e17ae291c8d

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -26,6 +26,9 @@

# Function definitions include(FindPkgConfig) function(find_feature FEATURE_NAME FEATURE_REQUIRES) + if (NOT ${FEATURE_NAME}) + return() + endif() foreach(REQUIRE ${FEATURE_REQUIRES}) find_package(${REQUIRE} QUIET) pkg_search_module(${REQUIRE} ${REQUIRE})