Skip to content
Permalink
Browse files

Add option not to build dev9ghzdrk.

  • Loading branch information...
arcum42 committed Aug 23, 2019
1 parent 7679dcf commit 74e6c437f2cb1e3303fe71237f0ccb257853d804
Showing with 4 additions and 0 deletions.
  1. +2 −0 build.sh
  2. +2 −0 cmake/SelectPcsx2Plugins.cmake
@@ -212,6 +212,7 @@ for ARG in "$@"; do
--lto ) flags="$flags -DUSE_LTO=TRUE" ;;
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
--no-dev9ghzdrk ) flags="$flags -DDISABLE_DEV9GHZDRK=TRUE" ;;
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
--no-trans ) flags="$flags -DNO_TRANSLATION=TRUE" ;;
--cross-multilib ) flags="$flags -DCMAKE_TOOLCHAIN_FILE=$toolfile"; useCross=1; ;;
@@ -241,6 +242,7 @@ for ARG in "$@"; do
echo
echo "** Distribution Compatibilities **"
echo "--sdl12 : Build with SDL1.2 (requires if wx is linked against SDL1.2)"
echo "--no-dev9ghzdrk : Skip dev9ghzdrk. (Avoids needing escalated privileges to build.)"
echo
echo "** Expert Developer option **"
echo "--gtk3 : replace GTK2 by GTK3"
@@ -120,6 +120,7 @@ endif()
#---------------------------------------
# dev9ghzdrk
#---------------------------------------
if(NOT DISABLE_DEV9GHZDRK)
if(GTKn_FOUND AND PCAP_FOUND AND LIBXML2_FOUND)
set(dev9ghzdrk TRUE)
list(APPEND CMAKE_MODULE_PATH
@@ -129,6 +130,7 @@ else()
set(dev9ghzdrk FALSE)
print_dep("Skip build of dev9ghzdrk: missing dependencies" "${msg_dep_dev}")
endif()
endif()
#---------------------------------------

#---------------------------------------

0 comments on commit 74e6c43

Please sign in to comment.
You can’t perform that action at this time.