Added require into default frontend function
This commit is contained in:
1 parent
42dc88a789
commit
b866800f59
1 file changed
+4
@@ -86,6 +86,10 @@ function(default_cfd950_frontend F_TARGET F_NAME F_EVENT_ID NUM_CH NUM_DR)
|
||||
PRIVATE
|
||||
$ENV{MIDASSYS}/drivers
|
||||
)
|
||||
|
||||
# Is needed here because the find_package(Midas REQUIRED) further up in the
|
||||
# file does not propagate into the function context.
|
||||
find_package(Midas REQUIRED)
|
||||
|
||||
target_link_libraries(
|
||||
${F_TARGET}
|
||||
|
||||
Reference in new issue
Block a user