Skip to content

Commit

Permalink
Adding more cmake C++ feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed May 24, 2017
1 parent bbdf676 commit 01211d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cmake/HPX_AddConfigTest.cmake
Expand Up @@ -147,7 +147,8 @@ endmacro()
macro(hpx_check_for_cxx11_alias_templates)
add_hpx_config_test(HPX_WITH_CXX11_ALIAS_TEMPLATES
SOURCE cmake/tests/cxx11_alias_templates.cpp
FILE ${ARGN})
FILE ${ARGN}
CMAKECXXFEATURE cxx_alias_templates)
endmacro()

###############################################################################
Expand Down Expand Up @@ -201,7 +202,8 @@ endmacro()
macro(hpx_check_for_cxx11_explicit_cvt_ops)
add_hpx_config_test(HPX_WITH_CXX11_EXPLICIT_CONVERSION_OPERATORS
SOURCE cmake/tests/cxx11_explicit_cvt_ops.cpp
FILE ${ARGN})
FILE ${ARGN}
CMAKECXXFEATURE cxx_explicit_conversions)
endmacro()

###############################################################################
Expand All @@ -215,7 +217,8 @@ endmacro()
macro(hpx_check_for_cxx11_extended_friend_declarations)
add_hpx_config_test(HPX_WITH_CXX11_EXTENDED_FRIEND_DECLARATIONS
SOURCE cmake/tests/cxx11_extended_friend_declarations.cpp
FILE ${ARGN})
FILE ${ARGN}
CMAKECXXFEATURE cxx_extended_friend_declarations)
endmacro()

###############################################################################
Expand Down

0 comments on commit 01211d8

Please sign in to comment.