cmake: Cache CUSTOM_COMPILE_OPTIONS
This allows persisting custom flags across builds, as intended.
This commit is contained in:
parent
94eb4d8f0a
commit
2a71e681db
|
|
@ -23,6 +23,10 @@ set(PROJECT_VERSION_TIMESTAMP
|
||||||
""
|
""
|
||||||
CACHE STRING "Timestamp for the build. Resolved automatically if not specified."
|
CACHE STRING "Timestamp for the build. Resolved automatically if not specified."
|
||||||
)
|
)
|
||||||
|
set(CUSTOM_COMPILE_OPTIONS
|
||||||
|
""
|
||||||
|
CACHE STRING "Allows adding custom C/C++ flags"
|
||||||
|
)
|
||||||
|
|
||||||
include(cmake/ProjectVersion.cmake)
|
include(cmake/ProjectVersion.cmake)
|
||||||
resolve_version_variables()
|
resolve_version_variables()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue