Closed ZedThree closed 2 years ago
For some reason, when using add_pfunit_ctest in a subdirectory, _[P]FUNIT_LIBRARIES was empty, meaning the tests weren't getting compiled/linked properly.
add_pfunit_ctest
_[P]FUNIT_LIBRARIES
add_pfunit_test uses PFUNIT_LIBRARIES directly, so follow that in add_pfunit_ctest too.
add_pfunit_test
PFUNIT_LIBRARIES
For some reason, when using
add_pfunit_ctest
in a subdirectory,_[P]FUNIT_LIBRARIES
was empty, meaning the tests weren't getting compiled/linked properly.add_pfunit_test
usesPFUNIT_LIBRARIES
directly, so follow that inadd_pfunit_ctest
too.