[cmake] set default build type

set with CACHE STRING FORCE to properly be picked up by configuration
tools
This commit is contained in:
akallabeth
2023-08-03 09:45:43 +02:00
committed by akallabeth
parent 0e458c8c2c
commit 8470b6ea26
9 changed files with 41 additions and 20 deletions

View File

@@ -16,6 +16,10 @@
# limitations under the License.
project(iFreeRDP)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "project default" FORCE)
endif()
set(MODULE_NAME "iFreeRDP")
set(MODULE_PREFIX "IFREERDP_CLIENT")
set(APP_TYPE MACOSX_BUNDLE)