Commit 2ffd96ea authored by Mathis Rosenhauer's avatar Mathis Rosenhauer

CMake: add CXX for fuzzing

parent 6aff38fb
......@@ -5,7 +5,14 @@ include(TestBigEndian)
include(CheckCSourceCompiles)
include(CheckSymbolExists)
include(cmake/macros.cmake)
project(libaec C)
option(AEC_FUZZING "Enable build of fuzzing targets" OFF)
if(AEC_FUZZING)
project(libaec C CXX)
else(AEC_FUZZING)
project(libaec C)
endif(AEC_FUZZING)
set(libaec_VERSION_MAJOR 1)
set(libaec_VERSION_MINOR 0)
set(libaec_VERSION_PATCH 2)
......@@ -53,8 +60,6 @@ include_directories("${PROJECT_SOURCE_DIR}/src")
add_subdirectory(src)
add_subdirectory(tests)
option(AEC_FUZZING "Enable build of fuzzing targets" OFF)
if(AEC_FUZZING)
add_subdirectory(fuzzing)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment