File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,7 @@ endif()
9393# Compiler flags
9494include_directories (${CMAKE_CURRENT_SOURCE_DIR} /include )
9595if (NOT MSVC )
96- if (NOT WIN32 )
97- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -fPIC" )
98- else ()
99- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -Wno-deprecated" )
100- endif ()
96+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -fPIC -std=gnu++17" )
10197else ()
10298 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS" )
10399endif ()
@@ -168,8 +164,7 @@ include_directories(${PROJECT_BINARY_DIR}/include) # Tablegen'd files
168164include_directories (${PROJECT_SOURCE_DIR} /third_party)
169165include_directories (${PROJECT_BINARY_DIR} /third_party) # Tablegen'd files
170166
171- link_directories (${LLVM_LIBRARY_DIR} )
172-
167+ # link_directories(${LLVM_LIBRARY_DIR})
173168add_subdirectory (include )
174169add_subdirectory (lib)
175170
You can’t perform that action at this time.
0 commit comments