diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d5366fe..960df751 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - name: Build and run run: | - cmake -DNO_STL=0 ./ + cmake ./ MSBuild etl.sln build-visual-studio-no-stl: diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 253740f0..a0bebd0e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,7 +3,7 @@ project(etl_unit_tests) add_definitions(-DETL_DEBUG) -if (NO_STL EQUAL 1) +if (${NO_STL}) message(STATUS "Compiling for No STL") add_definitions(-DETL_NO_STL) endif()