Skip to content

Commit

Permalink
#1602: CMake: remove obsolete variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Nov 19, 2021
1 parent 8936846 commit 250b0a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions cmake/threading_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ function(config_for_openmp)
set(vt_fcontext_enabled "0" PARENT_SCOPE)

set(LOCAL_THREADS_DEPENDENCY "find_dependency(OpenMP REQUIRED)" PARENT_SCOPE)

#
# The OpenMP compiler and linker flags are handled through the target instead
# of manually setting the flags for VT:
#
# string(APPEND VT_TARGET_CXX_FLAGS ${OpenMP_CXX_FLAGS})
# set(VT_TARGET_CXX_FLAGS "${VT_TARGET_CXX_FLAGS}" PARENT_SCOPE)
# string(APPEND VT_TARGET_LINKER_FLAGS ${OpenMP_EXE_LINKER_FLAGS})
# set(VT_TARGET_LINKER_FLAGS "${VT_TARGET_LINKER_FLAGS}" PARENT_SCOPE)
endfunction(config_for_openmp)

function(config_for_std_thread)
Expand Down
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ target_compile_features(
cxx_alias_templates
)

target_compile_options(${VIRTUAL_TRANSPORT_LIBRARY} PUBLIC ${VT_TARGET_CXX_FLAGS})

if (vt_gold_linker_enabled)
if (UNIX AND NOT APPLE)
execute_process(
Expand Down

0 comments on commit 250b0a0

Please sign in to comment.