We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c32e9c commit 03a4749Copy full SHA for 03a4749
tests/test_cmake_build/CMakeLists.txt
@@ -71,8 +71,14 @@ endif()
71
72
if(PYBIND11_INSTALL)
73
add_custom_target(
74
- mock_install ${CMAKE_COMMAND} "-DCMAKE_INSTALL_PREFIX=${pybind11_BINARY_DIR}/mock_install"
75
- "-DBUILD_TYPE=" "$<$<CONFIG:DEBUG>:Debug>" "$<$<CONFIG:RELEASE>:Release>" -P "${pybind11_BINARY_DIR}/cmake_install.cmake")
+ mock_install
+ ${CMAKE_COMMAND}
76
+ "-DCMAKE_INSTALL_PREFIX=${pybind11_BINARY_DIR}/mock_install"
77
+ "-DBUILD_TYPE="
78
+ "$<$<CONFIG:DEBUG>:Debug>"
79
+ "$<$<CONFIG:RELEASE>:Release>"
80
+ -P
81
+ "${pybind11_BINARY_DIR}/cmake_install.cmake")
82
83
pybind11_add_build_test(installed_function INSTALL)
84
pybind11_add_build_test(installed_target INSTALL)
0 commit comments