diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 763bf991..eb3cead9 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -3,7 +3,7 @@ name: Fuzz on: [ push, pull_request ] jobs: - install: + fuzz: runs-on: ubuntu-latest steps: - name: Checkout @@ -30,7 +30,7 @@ jobs: mkdir ${{ runner.workspace }}/build cd ${{ runner.workspace }}/build - cmake -DSCN_EXAMPLES=OFF -DSCN_BENCHMARKS=OFF \ + cmake -DSCN_EXAMPLES=OFF -DSCN_BENCHMARKS=OFF -DSCN_BUILD_FUZZING=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ $GITHUB_WORKSPACE make -k -j2 diff --git a/CMakeLists.txt b/CMakeLists.txt index f1864c68..37b73657 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,7 @@ if (SCN_INSTALL) write_basic_package_version_file( "${CMAKE_CURRENT_BINARY_DIR}/scnConfigVersion.cmake" VERSION ${SCN_VERSION} - COMPATIBILITY ExactVersion) + COMPATIBILITY SameMajorVersion) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/scnConfig.cmake"