--- CMakeLists.txt.orig 2024-02-01 14:44:29 UTC +++ CMakeLists.txt @@ -61,7 +61,7 @@ endif() message(STATUS "Using COFF spec: ${COFF_SPEC}") endif() -find_package(libmcfp 1.2.4 QUIET) +find_package(libmcfp REQUIRED) # workaround for https://github.com/mhekkel/mrc/issues/15 if(NOT libmcfp_FOUND) include(FetchContent) @@ -117,7 +117,7 @@ endif() add_test(NAME unit-test COMMAND $ WORKING_DIRECTORY .) endif() -install(TARGETS mrc) +#install(DIRECTORY example DESTINATION share/examples/mrc) if(WIN32) install(FILES cmake/mrc-config.cmake DESTINATION cmake) @@ -127,4 +127,4 @@ endif() install(FILES doc/mrc.1 DESTINATION share/man/man1) endif() -install(DIRECTORY example DESTINATION share/doc/mrc/) +#install(DIRECTORY example DESTINATION share/doc/mrc/)