From f16030525b1ba1da8eaa45e6171f331b4d15a609 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 4 Oct 2020 23:17:59 +0300 Subject: cmake: WINAPI_UTF8_ENABLE_TESTS -> WINAPI_UTF8_TESTS --- .appveyor.yml | 6 +++--- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index e8ab62a..366c147 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -33,7 +33,7 @@ build_script: "%python_exe%" -m project.ci.appveyor.cmake --install "%install_dir%" --boost "%appveyor_boost_root%" - -- -D WINAPI_UTF8_ENABLE_TESTS=ON + -- -D WINAPI_UTF8_TESTS=ON after_build: - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" @@ -61,8 +61,8 @@ for: - >- "%python_exe%" -m project.ci.appveyor.cmake --install "%install_dir%" - --boost C:\Projects\boost - -- -D WINAPI_UTF8_ENABLE_TESTS=ON + --boost C:\projects\boost + -- -D WINAPI_UTF8_TESTS=ON - matrix: only: diff --git a/CMakeLists.txt b/CMakeLists.txt index 555e0b2..fa0b876 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ target_include_directories(winapi_utf8 PUBLIC include/) install(TARGETS winapi_utf8 ARCHIVE DESTINATION lib) install(DIRECTORY include/winapi DESTINATION include) -if(WINAPI_UTF8_ENABLE_TESTS) +if(WINAPI_UTF8_TESTS) add_subdirectory(test) endif() -- cgit v1.2.3