diff --git a/src/calamares/CMakeLists.txt b/src/calamares/CMakeLists.txt index 4ecc61230..3be6b92a3 100644 --- a/src/calamares/CMakeLists.txt +++ b/src/calamares/CMakeLists.txt @@ -64,9 +64,4 @@ if(BUILD_TESTING) add_executable(test_conf test_conf.cpp) target_link_libraries(test_conf PUBLIC yamlcpp::yamlcpp ${qtname}::Core) - - if(WITH_PYBIND11) - target_compile_definitions(loadmodule PRIVATE WITH_PYBIND11=1) - endif() - endif() diff --git a/src/libcalamaresui/CMakeLists.txt b/src/libcalamaresui/CMakeLists.txt index 66a0e4c6b..ad2e2ea96 100644 --- a/src/libcalamaresui/CMakeLists.txt +++ b/src/libcalamaresui/CMakeLists.txt @@ -63,9 +63,6 @@ if(WITH_QML) target_link_libraries(calamaresui PUBLIC ${qtname}::QuickWidgets) endif() -if(WITH_PYBIND11) - target_compile_definitions(calamaresui PRIVATE WITH_PYBIND11=1) -endif() set_target_properties( calamaresui PROPERTIES