mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
Merge remote-tracking branch 'Clownacy/master'
This removes the default "Release" build type, as per Arch requirements.
This commit is contained in:
commit
e0c1e78635
@ -35,15 +35,6 @@ IF(UNIX AND NOT APPLE)
|
||||
)
|
||||
ENDIF(UNIX AND NOT APPLE)
|
||||
|
||||
# If no build type is set, default to "Release".
|
||||
STRING(TOLOWER "${CMAKE_BUILD_TYPE}" TMP_BUILD_TYPE)
|
||||
IF(TMP_BUILD_TYPE STREQUAL "")
|
||||
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
|
||||
ELSEIF(TMP_BUILD_TYPE MATCHES "none")
|
||||
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
|
||||
ENDIF()
|
||||
UNSET(TMP_BUILD_TYPE)
|
||||
|
||||
# Put all the binaries and libraries into a single directory.
|
||||
# NOTE: CACHE INTERNAL is required in order to get this to work
|
||||
# for KF5 for some reason. (and maybe that's why KDE4 did this
|
||||
|
@ -60,7 +60,7 @@ Clone the repository, then:
|
||||
$ cd rom-properties
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||
$ make
|
||||
$ sudo make install
|
||||
(KDE 4.x) $ kbuildsycoca4 --noincremental
|
||||
|
Loading…
Reference in New Issue
Block a user