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:
tellowkrinkle
2021-11-26 13:02:25 -06:00
parent 3bd89154d3
commit 340874996e
+1 -9
View File
@@ -121,15 +121,7 @@ endif()
# It only cost several MB so disbable it by default
option(CMAKE_BUILD_STRIP "Srip binaries to save a couple of MB (developer option)")
if(NOT DEFINED CMAKE_BUILD_PO)
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()
option(CMAKE_BUILD_PO "Build po files (modifies git-tracked files)" OFF)
#-------------------------------------------------------------------------------
# Select the architecture