Open augusto-mantilla opened 2 years ago
I have got the same issue.
Not sure how to solve it.
I built without tests -DIO2D_WITHOUT_TESTS=1
I built without tests -DIO2D_WITHOUT_TESTS=1
how did you did this. can u tell the steps with commands
Try to add it as a parameter to the cmake call. However, generally speaking, it is a bad idea to build without tests, imho...
I built without tests -DIO2D_WITHOUT_TESTS=1
how did you did this. can u tell the steps with commands
E.g. for building on Linux replace the line cmake --config Debug "-DCMAKE_BUILD_TYPE=Debug" ..
with cmake --config Debug "-DCMAKE_BUILD_TYPE=Debug" -DIO2D_WITHOUT_TESTS=1 ..
I'm fairly new at this, but I find it silly that, even though this does the trick, CMake is nevertheless giving me a warning that Manually-specified variables were not used by the project: IO2D_WITHOUT_TESTS
.
gcc (GCC) 11.2.0 cmake version 3.22.3 GNU Make 4.3