File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -91,20 +91,20 @@ if("${BLA_VENDOR}" STREQUAL "Intel10_32"
9191 OR "${BLA_VENDOR} " STREQUAL "Intel10_64ilp"
9292 OR "${BLA_VENDOR} " STREQUAL "Intel10_64ilp_seq"
9393 OR "${BLA_VENDOR} " STREQUAL "Intel10_64_dyn" )
94- target_compile_definitions (htool PRIVATE "-DHPDDM_MKL -DHTOOL_MKL" )
94+ target_compile_definitions (Htool PRIVATE "-DHPDDM_MKL -DHTOOL_MKL" )
9595endif ()
9696
9797target_compile_definitions (Htool PRIVATE "-DHTOOL_WITH_PYTHON_INTERFACE" "-DHTOOL_WITH_HPDDM" )
9898
9999if (CODE_COVERAGE)
100100 if (CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
101101 message (STATUS "Code coverage enabled with GNU." )
102- target_compile_options (Htool INTERFACE -fprofile-arcs -ftest-coverage -fno-elide-constructors -fno-default-inline)
103- target_link_libraries (Htool INTERFACE gcov)
102+ target_compile_options (Htool PRIVATE -fprofile-arcs -ftest-coverage -fno-elide-constructors -fno-default-inline)
103+ target_link_libraries (Htool PRIVATE gcov)
104104 elseif (CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
105105 message (STATUS "Code coverage enabled with LLVM." )
106- target_compile_options (Htool INTERFACE -fprofile-instr-generate -fcoverage-mapping)
107- target_link_options (Htool INTERFACE -fprofile-instr-generate -fcoverage-mapping)
106+ target_compile_options (Htool PRIVATE -fprofile-instr-generate -fcoverage-mapping)
107+ target_link_options (Htool PRIVATE -fprofile-instr-generate -fcoverage-mapping)
108108 else ()
109109 message (STATUS "Code coverage not available." )
110110 endif ()
You can’t perform that action at this time.
0 commit comments