summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2017-07-31 17:09:40 +0300
committerStelios Tsampas <loathingkernel@gmail.com>2017-07-31 17:09:40 +0300
commita93c5c542042b582f2da765aa386772dc8437f01 (patch)
tree9c34038ebc8f59106c6b1312e57b4f88f6088da1 /gui
parent3912ad309e60ca9e97a72baa9a2e651c6a5ab198 (diff)
downloadpcsxr-a93c5c542042b582f2da765aa386772dc8437f01.tar.gz
* Fix CMake to include PGXP sources. Import updated translations.
Includes some small fixes on CMake, such as prettier status messages, host and target arch detection (taken from PCSX2), and various other small errors.
Diffstat (limited to 'gui')
-rw-r--r--gui/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index ddb87b25..08bd4d6f 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -1,4 +1,4 @@
-message("Configuring gui")
+message(STATUS "* Configuring gui")
include(GlibCompileResourcesSupport)
@@ -27,6 +27,10 @@ find_library(RT_LIB rt REQUIRED)
find_package(X11 REQUIRED)
include_directories(${X11_XTest_INCLUDE_PATH})
+if (${DYNAREC} STREQUAL "no")
+ message(STATUS "User selected to not build dynarec")
+ add_definitions(-DNOPSXREC)
+endif()
#defs
add_definitions(-DLOCALE_DIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}/locale/" -DPSEMU_DATA_DIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}/psemu" -DDEF_PLUGIN_DIR="${CMAKE_INSTALL_FULL_LIBDIR}/games/psemu")
@@ -95,4 +99,3 @@ install(TARGETS pcsxr RUNTIME DESTINATION bin)
install(FILES data/pcsxr.desktop DESTINATION share/applications)
install(FILES data/pixmaps/pcsxr-icon.png DESTINATION share/icons/hicolor/48x48/apps)
-add_subdirectory("po")