Fixes 999 CMake Warnings (#10729)

* fixes: 999 CMake Warnings at src/dev-utils/CMakeLists.txt:39 (add_custom_command)

* cmake clenup: adds PUBLIC/PRIVATE to libslic3r; attempt to reduce warnigns from eigen
This commit is contained in:
Dipl.-Ing. Raoul Rubien, BSc
2025-09-19 17:52:41 +02:00
committed by GitHub
parent 75ed995b00
commit c228ab2da1
2 changed files with 34 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ function(encoding_check TARGET)
# Add checking of each source file as a subcommand of encoding-check-${TARGET}
foreach(file ${T_SOURCES})
add_custom_command(TARGET encoding-check-${TARGET}
add_custom_command(TARGET encoding-check-${TARGET} PRE_BUILD
COMMAND $<TARGET_FILE:encoding-check> ${TARGET} ${file}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)