1
0
Files
cura-engine-lulzbot/fix-build.patch

34 lines
1.1 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a015fa2b..b4c66d33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -202,11 +202,6 @@ if (BUILD_TESTS)
endforeach()
endif()
-
-add_custom_command(TARGET CuraEngine POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_directory
- ${CMAKE_SOURCE_DIR}/resources $<TARGET_FILE_DIR:CuraEngine>)
-
# Installing CuraEngine.
include(GNUInstallDirs)
install(TARGETS CuraEngine DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/src/settings/SettingRegistry.cpp b/src/settings/SettingRegistry.cpp
index 7c4be40d..cff696a6 100644
--- a/src/settings/SettingRegistry.cpp
+++ b/src/settings/SettingRegistry.cpp
@@ -35,12 +35,6 @@ std::string SettingRegistry::toString(rapidjson::Type type)
}
-SettingConfig::SettingConfig(std::string key, std::string label)
-: SettingContainer(key, label)
-{
-// std::cerr << key << std::endl; // debug output to show all frontend registered settings...
-}
-
bool SettingRegistry::settingExists(std::string key) const
{
return setting_key_to_config.find(key) != setting_key_to_config.end();