Skip to content

Commit eb37b8b

Browse files
committed
fixup
1 parent 7f248e0 commit eb37b8b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/trusted/validator_arm/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,14 @@ list(APPEND VALIDATOR_INPUTS
8585
"validator.cc"
8686
)
8787

88-
add_library(arm_validatore_core OBJECT ${VALIDATOR_INPUTS} ${GEN_OTHER_LIST})
88+
string(REPLACE ";" " " VALIDATOR_FLAGS_STRING "${VALIDATOR_FLAGS}")
89+
90+
add_library(arm_validator_core OBJECT ${VALIDATOR_INPUTS} ${GEN_OTHER_LIST})
91+
set_target_properties(arm_validator_core PROPERTIES FLAGS "${VALIDATOR_FLAGS_STRING}")
8992

9093
add_library(ncvalidate_arm_v2 STATIC "ncvalidate.cc")
91-
target_link_libraries(ncvalidate_arm_v2 arm_validatore_core) # We don't support OPTIONAL_COVERAGE_LIBS.
94+
target_link_libraries(ncvalidate_arm_v2 arm_validator_core) # We don't support OPTIONAL_COVERAGE_LIBS.
95+
set_target_properties(ncvalidate_arm_v2 PROPERTIES FLAGS "${VALIDATOR_FLAGS_STRING}")
9296

9397
add_library(arm_validator_reporters STATIC "problem_reporter.cc")
98+
set_target_properties(arm_validator_reporters PROPERTIES FLAGS "${VALIDATOR_FLAGS_STRING}")

0 commit comments

Comments
 (0)