Skip to content

Commit

Permalink
Link to delayimp for all MSVC versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bouffa authored Feb 20, 2017
1 parent 60ec882 commit e461fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/pcl_targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ macro(PCL_ADD_LIBRARY _name _component)
target_link_libraries(${_name} gomp)
endif()

if(MSVC90 OR MSVC10)
if(MSVC)
target_link_libraries(${_name} delayimp.lib) # because delay load is enabled for openmp.dll
endif()

Expand Down

0 comments on commit e461fa0

Please sign in to comment.