--- CMakeLists.txt.orig 2024-11-21 07:59:50 UTC +++ CMakeLists.txt @@ -70,7 +70,7 @@ if (${CMAKE_BUILD_TYPE} MATCHES Release) endif() if (${CMAKE_BUILD_TYPE} MATCHES Release) - set(EXTRA_FLAGS "-march=native -D_FILE_OFFSET_BITS=64") + set(EXTRA_FLAGS "-D_FILE_OFFSET_BITS=64") # set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG") # reset CXX_FLAGS to replace -O3 with -Ofast endif() @@ -595,8 +595,8 @@ install(TARGETS vcflib ARCHIVE DESTINATION ${CMAKE_INS # ---- Install install(TARGETS vcflib ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR}) -install(TARGETS ${WFALIB} ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR}) +# install(TARGETS ${WFALIB} ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES ${INCLUDES} DESTINATION include/vcflib) -install(DIRECTORY ${CMAKE_SOURCE_DIR}/man/ DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1) +install(DIRECTORY ${CMAKE_SOURCE_DIR}/man/ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)