diff --git a/.ci.cmake b/.ci.cmake index 7caba9175..7d2783d0e 100644 --- a/.ci.cmake +++ b/.ci.cmake @@ -14,7 +14,9 @@ ctest_start("Experimental") #ctest_update() message(STATUS "NOTE: CTEST_CONFIGURE_OPTIONS are '${CTEST_CONFIGURE_OPTIONS}'") ctest_configure(OPTIONS "${CTEST_CONFIGURE_OPTIONS}") -ctest_build(TARGET _hl) +if(NOT "$ENV{CXX}" MATCHES "g\\+\\+") ## Avoid ICE for header only build in GCC + ctest_build(TARGET _hl) +endif() ctest_build(TARGET _dl) ctest_build(TARGET _sl) set(retval 0)