Hi everyone, I hope you are fine.
Recently, I am coupling CoolProp and SU2. Since SU2 is complied by meson and ninja, so I have to add dependency of CoolProp in meson.build file.
What I add in meson.build file are as follows:
///////////////////
if get_option('enable-coolprop')
cmake = import('cmake')
coolprop_subproj = cmake.subproject('CoolProp')
coolprop_dep = coolprop_subproj.dependency('CoolProp')
su2_deps += coolprop_dep
su2_cpp_args += '-DHAVE_COOLPROP'
endif//////////////////////////////////////
when I compile using ninja, the error:
''meson.build:241:2: ERROR: The CMake target CoolProp does not exist
Use the following command in your meson.build to list all available targets:
message('CMaket targets:\n - ' + '\n - '.join(<cmake_subproject>.target_list()))''
so what is the CMake target of CoolProp, or what should I write in:
'' coolprop_dep = coolprop_subproj.dependency('')''
Thank you!