diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c5e2aed29..14248e6da6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,10 +209,10 @@ endif() # Force HDF5 1.10 API target_compile_definitions(simplnx PUBLIC "H5_USE_110_API") -target_compile_options( simplnx PUBLIC - $<$: "-ffp-contract=off"> - ) - +target_compile_options(simplnx + PUBLIC + $<$:-ffp-contract=off> +) if(SIMPLNX_ENABLE_MULTICORE) target_compile_definitions(simplnx PUBLIC "SIMPLNX_ENABLE_MULTICORE")