We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791d453 commit c6ae259Copy full SHA for c6ae259
CMakeLists.txt
@@ -5,10 +5,10 @@ set(CMAKE_CXX_STANDARD 17)
5
6
include_directories(src)
7
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()
+try_compile(HAVE_EXECUTION ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src/executiontest.cpp)
+if(NOT HAVE_EXECUTION)
+ message(FATAL_ERROR "Compiler seems to be old, unable to compile this source")
+endif()
12
13
add_library(
14
${PROJECT_NAME}
0 commit comments