diff --git a/CMakeLists.txt b/CMakeLists.txt index f9f45e18aca7d86febdccbb7543018fbae8d92af..7ee947903daad92493ca3db30de3ced6d2f59302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,6 @@ option(BUILD_TESTING "Build tests" ON) option(BUILD_EXAMPLES "Build examples" ON) option(BUILD_DOCUMENTATION "Build documentation" OFF) -option(MT_ENABLE_MIXED_PRECISION "Use mixed precision" OFF) option(MT_ENABLE_FORTRAN_HL "Enable high-level interface" ON) # Set line limit to none for GNU compiler (default is 132) to enable long diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index b909f36786956110aa50576b3761ba61dfce68e5..a680edb81028a53b31c42f05164d83bba3e584e8 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -10,9 +10,6 @@ function(mtime_add_example test_name file_name) add_executable("${test_name}" ${file_name} ${ARG_DEPENDS}) target_link_libraries("${test_name}" PRIVATE mtime::mtime ${ARG_LIBRARIES}) set_target_properties(${test_name} PROPERTIES Fortran_PREPROCESS ON) - if(MT_ENABLE_MIXED_PRECISION) - target_compile_definitions(${test_name} PRIVATE __MIXED_PRECISION) - endif() endfunction() mtime_add_example(callback_test callback_test.f90)