File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.10 )
2- project (identity)
32
4- # Credit: https://stackoverflow.com/questions/52180281/cmake-cxx-compiler-version-is-pointing-to-the-old-gcc-version
5- if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
6- if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.5)
7- message (FATAL_ERROR "GNU g++ 7.5.0 or later is required. Your current compiler version is: " ${CMAKE_CXX_COMPILER_VERSION} )
8- endif ()
9- else ()
10- message (FATAL_ERROR "Your compiler is currently unsupported: " ${CMAKE_CXX_COMPILER_ID} )
11- endif ()
3+ set (CMAKE_CXX_COMPILER g++-7)
4+
5+ project (identity)
126
137set (CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR} /bin)
148set (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR} )
@@ -50,4 +44,6 @@ ${CMAKE_SOURCE_DIR}/src/AlignerParallel.h
5044
5145set (CMAKE_CXX_STANDARD 17)
5246set (CMAKE_CXX_FLAGS " -O3 -ffast-math -fopenmp -fmessage-length=0" )
47+
5348add_executable (identity ${CMAKE_SOURCE_DIR} /src/Identity.cpp ${SOURCES} ${HEADER_FILES} )
49+
You can’t perform that action at this time.
0 commit comments