Open florent-lamiraux opened 3 years ago
In several packages (hpp-constraints, hpp-core) adding -DBUILD_TESTING=OFF does not prevent compilation of the tests defined by macro ADD_UNIT_TEST.
hpp-constraints
hpp-core
ADD_UNIT_TEST
I checked the CMakeCache.txt file and found the following line: BUILD_TESTING:BOOL=OFF
CMakeCache.txt
BUILD_TESTING:BOOL=OFF
Did I miss something ?
Which command do you execute for compiling your project? On Pinocchio, this is totally working fine: did you try to erase the CMakeCache.txt?
In several packages (
hpp-constraints
,hpp-core
) adding -DBUILD_TESTING=OFF does not prevent compilation of the tests defined by macroADD_UNIT_TEST
.I checked the
CMakeCache.txt
file and found the following line:BUILD_TESTING:BOOL=OFF
Did I miss something ?