diff options
Diffstat (limited to 'cmake/OpusBuildtype.cmake')
-rw-r--r-- | cmake/OpusBuildtype.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/OpusBuildtype.cmake b/cmake/OpusBuildtype.cmake index aaee9eff..557cc89b 100644 --- a/cmake/OpusBuildtype.cmake +++ b/cmake/OpusBuildtype.cmake @@ -1,4 +1,8 @@ # Set a default build type if none was specified +if(__opus_buildtype) + return() +endif() +set(__opus_buildtype INCLUDED) if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) if(CMAKE_C_FLAGS) |