aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-04 23:17:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-04 23:17:59 +0300
commitf16030525b1ba1da8eaa45e6171f331b4d15a609 (patch)
treed9c0841359b9f35e3e9802d873ef4c867dd23184
parentupdate cmake-common (diff)
downloadwinapi-utf8-f16030525b1ba1da8eaa45e6171f331b4d15a609.tar.gz
winapi-utf8-f16030525b1ba1da8eaa45e6171f331b4d15a609.zip
cmake: WINAPI_UTF8_ENABLE_TESTS -> WINAPI_UTF8_TESTS
-rw-r--r--.appveyor.yml6
-rw-r--r--CMakeLists.txt2
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()