mirror of https://github.com/PCSX2/pcsx2.git
CMake: Always default `CMAKE_BUILD_PO` off
Git files getting modified by build is just as much of a pain in release builds as it is in devel builds
This commit is contained in:
parent
3bd89154d3
commit
340874996e
|
@ -121,15 +121,7 @@ endif()
|
||||||
# It only cost several MB so disbable it by default
|
# It only cost several MB so disbable it by default
|
||||||
option(CMAKE_BUILD_STRIP "Srip binaries to save a couple of MB (developer option)")
|
option(CMAKE_BUILD_STRIP "Srip binaries to save a couple of MB (developer option)")
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_BUILD_PO)
|
option(CMAKE_BUILD_PO "Build po files (modifies git-tracked files)" OFF)
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
||||||
set(CMAKE_BUILD_PO TRUE)
|
|
||||||
message(STATUS "Enable the building of po files by default in ${CMAKE_BUILD_TYPE} build !!!")
|
|
||||||
else()
|
|
||||||
set(CMAKE_BUILD_PO FALSE)
|
|
||||||
message(STATUS "Disable the building of po files by default in ${CMAKE_BUILD_TYPE} build !!!")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Select the architecture
|
# Select the architecture
|
||||||
|
|
Loading…
Reference in New Issue