diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 23:17:59 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-04 23:17:59 +0300 |
commit | f16030525b1ba1da8eaa45e6171f331b4d15a609 (patch) | |
tree | d9c0841359b9f35e3e9802d873ef4c867dd23184 | |
parent | update cmake-common (diff) | |
download | winapi-utf8-f16030525b1ba1da8eaa45e6171f331b4d15a609.tar.gz winapi-utf8-f16030525b1ba1da8eaa45e6171f331b4d15a609.zip |
cmake: WINAPI_UTF8_ENABLE_TESTS -> WINAPI_UTF8_TESTS
-rw-r--r-- | .appveyor.yml | 6 | ||||
-rw-r--r-- | 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() |