2022-05-06 09:49:46 +00:00
|
|
|
include_guard(GLOBAL)
|
|
|
|
|
|
|
|
|
2022-01-25 10:21:05 +00:00
|
|
|
# cmake-format: off
|
2021-12-08 11:32:04 +00:00
|
|
|
if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
|
|
|
include(cotire OPTIONAL)
|
|
|
|
if(COMMAND cotire)
|
2022-01-25 10:21:05 +00:00
|
|
|
option(MYX_CMAKE_PRECOMPILED_HEADERS "MyxCMake: enable precompiled headers" OFF)
|
2021-12-08 11:32:04 +00:00
|
|
|
endif()
|
|
|
|
else()
|
2022-01-25 10:21:05 +00:00
|
|
|
option(MYX_CMAKE_PRECOMPILED_HEADERS "MyxCMake: enable precompiled headers" OFF)
|
2021-12-08 11:32:04 +00:00
|
|
|
endif()
|
2022-01-25 10:21:05 +00:00
|
|
|
# cmake-format: on
|