Skip to content

Commit

Permalink
Fixing CMake config for OpenMP example and Clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Dec 11, 2018
1 parent f5b7686 commit 4e3c4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/OpenMPOverhead/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")

# Link the executable to the Apex library.
target_link_libraries (openmp_overhead apex ${OMPT_LIBRARIES} ${LIBS})
target_link_libraries (openmp_overhead apex ${OMPT_LIBRARIES} ${LIBS} stdc++)
if (BUILD_STATIC_EXECUTABLES)
set_target_properties(openmp_overhead PROPERTIES LINK_SEARCH_START_STATIC 1 LINK_SEARCH_END_STATIC 1)
endif()
Expand Down

0 comments on commit 4e3c4af

Please sign in to comment.