Skip to content
Snippets Groups Projects

Use hyphens in cmake instead of underscores when appropriate

Merged Vladimir Onoprienko requested to merge cmake-hyphens into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • 37ffc42b
    Fix bug · 37ffc42b
    Vladimir Onoprienko authored
    Automatic download of dependencies is considered to be the default
    behavior when building the project according to README.md.
    
    However, the automatic download is not enabled by default now due to
    the mistake in syntax of option() command in CMakeLists.txt.
    
    This commit fixes the bug.
+ 1
1
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.14)
project(exple_cmake_build CXX)
project(exple_cmake_build CXX)
option(DOWNLOAD_DEPS ON)
option(DOWNLOAD_DEPS "Enable automatic download of dependencies" ON)
# download dependency 'explelibx_common' or find it locally
# download dependency 'explelibx_common' or find it locally
if (DOWNLOAD_DEPS)
if (DOWNLOAD_DEPS)
Loading