• Ryan Pavlik's avatar
    build: Improve test building. · 334d0501
    Ryan Pavlik authored
    Uses the FindLibcheck and friends at the top level to control
    BUILD_TESTING (which CTest uses).
    
    Adds the test to the project so CTest can see it too.
    
    PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
    so it doesn't break in case this is a subproject somewhere.
    334d0501
CMakeLists.txt 2.02 KB