aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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()