mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
format: add cmake-format to pre-commit
This commit is contained in:
committed by
Henry Schreiner
parent
1651c32492
commit
e2a96890e1
@@ -217,7 +217,7 @@ endforeach()
|
||||
set(testdir ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
foreach(target ${test_targets})
|
||||
set(test_files ${PYBIND11_TEST_FILES})
|
||||
if(NOT target STREQUAL "pybind11_tests")
|
||||
if(NOT "${target}" STREQUAL "pybind11_tests")
|
||||
set(test_files "")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user