aboutsummaryrefslogtreecommitdiff
path: root/runtime/cmake/LibompHandleFlags.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/cmake/LibompHandleFlags.cmake')
-rw-r--r--runtime/cmake/LibompHandleFlags.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/cmake/LibompHandleFlags.cmake b/runtime/cmake/LibompHandleFlags.cmake
index 030e6f0..3da7efa 100644
--- a/runtime/cmake/LibompHandleFlags.cmake
+++ b/runtime/cmake/LibompHandleFlags.cmake
@@ -74,18 +74,6 @@ function(libomp_get_c_and_cxxflags_common flags)
set(${flags} ${flags_local} PARENT_SCOPE)
endfunction()
-# C compiler flags
-function(libomp_get_cflags cflags)
- set(cflags_local)
- libomp_get_c_and_cxxflags_common(cflags_local)
- # flags only for the C Compiler
- libomp_append(cflags_local /TP LIBOMP_HAVE_TP_FLAG)
- libomp_append(cflags_local "-x c++" LIBOMP_HAVE_X_CPP_FLAG)
- set(cflags_local ${cflags_local} ${LIBOMP_CFLAGS})
- libomp_setup_flags(cflags_local)
- set(${cflags} ${cflags_local} PARENT_SCOPE)
-endfunction()
-
# C++ compiler flags
function(libomp_get_cxxflags cxxflags)
set(cxxflags_local)