Skip to content

Commit

Permalink
Fix warning in clad CMakeLists.txt
Browse files Browse the repository at this point in the history
Fixes the following warning:
```
CMake Warning (dev) in interpreter/cling/tools/plugins/clad/CMakeLists.txt:
  A logical block opening on the line

    /root/root_src/interpreter/cling/tools/plugins/clad/CMakeLists.txt:17 (if)

  closes on the line

    /root/root_src/interpreter/cling/tools/plugins/clad/CMakeLists.txt:27 (endif)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.
```
  • Loading branch information
guitargeek authored and jenkins committed Oct 17, 2024
1 parent 4e787ef commit 2c78e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/plugins/clad/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(MSVC AND NOT CMAKE_GENERATOR MATCHES Ninja)
set(CLAD_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ASAN_EXTRA_CXX_FLAGS}")
endif()
set(EXTRA_BUILD_ARGS --config ${_clad_build_type})
endif(MSVC)
endif()
if(NOT _clad_build_type STREQUAL "" AND NOT _clad_build_type STREQUAL ".")
set(EXTRA_BUILD_ARGS --config ${_clad_build_type})
endif()
Expand Down

0 comments on commit 2c78e24

Please sign in to comment.