Skip to content

Commit

Permalink
Make compatible with sanitizers-cmake
Browse files Browse the repository at this point in the history
This pull requests makes wise_enum compatible with [sanitizers-cmake](https://github.com/arsenm/sanitizers-cmake) by setting the language to C++ in the CMake project definition.

Without this wise_enum can't be used in projects that use sanitizers-cmake, because it needs to know the language of the project.
  • Loading branch information
samangh authored and quicknir committed Feb 25, 2021
1 parent 703b7f4 commit 34ac79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10.2)

project(WiseEnum VERSION 3.0.0)
project(WiseEnum VERSION 3.0.0 LANGUAGES CXX)

option(BUILD_EXAMPLES "Build the examples" OFF)
option(BUILD_TESTS "Build the tests" OFF)
Expand Down

0 comments on commit 34ac79f

Please sign in to comment.