Build: Move KWSYS_ENCODING_DEFAULT_CODEPAGE to the config header

This commit is contained in:
Alex Turbov
2022-08-21 06:28:51 +04:00
committed by Brad King
parent 94bc776ec2
commit a392df50b3
3 changed files with 4 additions and 3 deletions

View File

@@ -765,9 +765,6 @@ target_link_libraries(
${CMAKE_THREAD_LIBS_INIT}
)
set_property(SOURCE cmProcessOutput.cxx cmWindowsRegistry.cxx APPEND PROPERTY COMPILE_DEFINITIONS
KWSYS_ENCODING_DEFAULT_CODEPAGE=${KWSYS_ENCODING_DEFAULT_CODEPAGE})
# Check if we can build the Mach-O parser.
if(CMake_USE_MACH_PARSER)
target_sources(

View File

@@ -39,3 +39,5 @@
#cmakedefine01 CMake_STAT_HAS_ST_MTIM
#cmakedefine01 CMake_STAT_HAS_ST_MTIMESPEC
#cmakedefine KWSYS_ENCODING_DEFAULT_CODEPAGE @KWSYS_ENCODING_DEFAULT_CODEPAGE@

View File

@@ -2,6 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
#include <cstdint> // IWYU pragma: keep
#include <string>
#include <vector>