CMake: do not put PYBIND11 on the command-line

This is already stored in CalamaresConfig.hfor ABI purposes.
This commit is contained in:
Adriaan de Groot 2024-02-24 18:54:33 +01:00
parent b37cf66acb
commit 809d6cdda0
2 changed files with 0 additions and 8 deletions

View File

@ -64,9 +64,4 @@ if(BUILD_TESTING)
add_executable(test_conf test_conf.cpp) add_executable(test_conf test_conf.cpp)
target_link_libraries(test_conf PUBLIC yamlcpp::yamlcpp ${qtname}::Core) target_link_libraries(test_conf PUBLIC yamlcpp::yamlcpp ${qtname}::Core)
if(WITH_PYBIND11)
target_compile_definitions(loadmodule PRIVATE WITH_PYBIND11=1)
endif()
endif() endif()

View File

@ -63,9 +63,6 @@ if(WITH_QML)
target_link_libraries(calamaresui PUBLIC ${qtname}::QuickWidgets) target_link_libraries(calamaresui PUBLIC ${qtname}::QuickWidgets)
endif() endif()
if(WITH_PYBIND11)
target_compile_definitions(calamaresui PRIVATE WITH_PYBIND11=1)
endif()
set_target_properties( set_target_properties(
calamaresui calamaresui
PROPERTIES PROPERTIES