diff options
author | Brad King <brad.king@kitware.com> | 2019-03-29 12:19:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-29 12:19:20 (GMT) |
commit | 15be06a5ecad09b08c9e81aa5712173be3f88f72 (patch) | |
tree | f357a76c42a6438ec0bbab5d2f1111eb5e621e66 /Tests/Plugin | |
parent | 24da7da68657c7c719e908f519c0f94da3a15701 (diff) | |
download | CMake-15be06a5ecad09b08c9e81aa5712173be3f88f72.zip CMake-15be06a5ecad09b08c9e81aa5712173be3f88f72.tar.gz CMake-15be06a5ecad09b08c9e81aa5712173be3f88f72.tar.bz2 |
Tests: Fix Plugin test for international characters on Windows
Build KWSys with `CP_UTF8` internal encoding so that we can dynamically
load modules by absolute paths that contain international characters.
This is needed now that KWSys DynamicLoader uses KWSys Encoding instead
of hard-coding `CP_UTF8` itself.
Diffstat (limited to 'Tests/Plugin')
-rw-r--r-- | Tests/Plugin/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Plugin/CMakeLists.txt b/Tests/Plugin/CMakeLists.txt index 227d990..8e8fa07 100644 --- a/Tests/Plugin/CMakeLists.txt +++ b/Tests/Plugin/CMakeLists.txt @@ -15,6 +15,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Plugin_BINARY_DIR}/lib/static) set(KWSYS_NAMESPACE kwsys) set(KWSYS_HEADER_ROOT ${Plugin_BINARY_DIR}/include) set(KWSYS_USE_DynamicLoader 1) +set(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_UTF8) add_subdirectory(${Plugin_SOURCE_DIR}/../../Source/kwsys src/kwsys) # Configure the location of plugins. |