Skip to content

Commit c6ae259

Browse files
committed
try to compile again
1 parent 791d453 commit c6ae259

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set(CMAKE_CXX_STANDARD 17)
55

66
include_directories(src)
77

8-
#try_compile(HAVE_EXECUTION ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src/executiontest.cpp)
9-
#if(NOT HAVE_EXECUTION)
10-
# message(FATAL_ERROR "Compiler seems to be old, unable to compile this source")
11-
#endif()
8+
try_compile(HAVE_EXECUTION ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src/executiontest.cpp)
9+
if(NOT HAVE_EXECUTION)
10+
message(FATAL_ERROR "Compiler seems to be old, unable to compile this source")
11+
endif()
1212

1313
add_library(
1414
${PROJECT_NAME}

0 commit comments

Comments
 (0)