Skip to content

Commit

Permalink
Generic check for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Oct 24, 2015
1 parent 7f86b8b commit 8a65534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ set(VEXCL_BOOST_COMPONENTS
program_options
CACHE STRING "Boost components required by VexCL.")

if (MSVC10 OR MSVC11 OR MSVC12 OR MSVC14)
if (MSVC)
set(VEXCL_BOOST_COMPONENTS ${VEXCL_BOOST_COMPONENTS} chrono)
endif ()

Expand Down

0 comments on commit 8a65534

Please sign in to comment.