opm-common/cmake/Modules/UseFastBuilds.cmake
2015-03-18 14:48:36 +01:00

12 lines
256 B
CMake

# - Try to build faster depending on the compiler
# faster builds by using a pipe instead of temp files
include (AddOptions)
include (UseCompVer)
is_compiler_gcc_compatible ()
if (CXX_COMPAT_GCC)
add_options (ALL_LANGUAGES ALL_BUILDS "-pipe")
endif ()