diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1c48908..985cf43 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -10,8 +10,6 @@ jobs: matrix: config: # https://github.com/actions/virtual-environments/tree/main/images/win - - { os: "windows-2016", vs: "Visual Studio 2017", arch: "x86" } - - { os: "windows-2016", vs: "Visual Studio 2017", arch: "x64" } - { os: "windows-2019", vs: "Visual Studio 2019", arch: "x86" } - { os: "windows-2019", vs: "Visual Studio 2019", arch: "x64" } name: "${{matrix.config.vs}} ${{matrix.config.arch}}" diff --git a/README.md b/README.md index 4f1792d..98241ba 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Also, you can add the root repository directory to your [cmake](https://cmake.or ```cmake add_subdirectory(external/enum.hpp) -target_link_libraries(your_project_target enum.hpp) +target_link_libraries(your_project_target PUBLIC enum.hpp) ``` ## Examples diff --git a/untests/CMakeLists.txt b/untests/CMakeLists.txt index 035435b..37f94be 100644 --- a/untests/CMakeLists.txt +++ b/untests/CMakeLists.txt @@ -18,7 +18,7 @@ endif() file(GLOB_RECURSE UNTESTS_SOURCES "*.cpp" "*.hpp") add_executable(${PROJECT_NAME} ${UNTESTS_SOURCES}) -target_link_libraries(${PROJECT_NAME} enum.hpp) +target_link_libraries(${PROJECT_NAME} PUBLIC enum.hpp) target_compile_options(${PROJECT_NAME} PRIVATE