CMake: do not put PYBIND11 on the command-line
This is already stored in CalamaresConfig.hfor ABI purposes.
This commit is contained in:
parent
b37cf66acb
commit
809d6cdda0
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user