mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 11:19:03 +00:00
Changed: Define Release configuration for compilation checks and as default if not defined (must be defined before PROJECT)
This commit is contained in:
parent
d7d7668d94
commit
4a414c5a34
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
# Force Release configuration for compiler checks
|
||||||
|
SET(CMAKE_TRY_COMPILE_CONFIGURATION "Release")
|
||||||
|
|
||||||
|
# Force Release configuration by default
|
||||||
|
IF(NOT CMAKE_BUILD_TYPE)
|
||||||
|
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
|
||||||
|
ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
###
|
###
|
||||||
# Helper macro that generates .pc and installs it.
|
# Helper macro that generates .pc and installs it.
|
||||||
# Argument: name - the name of the .pc package, e.g. "nel-pacs.pc"
|
# Argument: name - the name of the .pc package, e.g. "nel-pacs.pc"
|
||||||
|
|
Loading…
Reference in a new issue