Merge remote-tracking branch 'Clownacy/master'

This removes the default "Release" build type, as per Arch requirements.
This commit is contained in:
David Korth 2022-07-17 14:17:54 -04:00
commit e0c1e78635
2 changed files with 1 additions and 10 deletions

View File

@ -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

View File

@ -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