SIRF-SuperBuild icon indicating copy to clipboard operation
SIRF-SuperBuild copied to clipboard

No error if ACE not present

Open KrisThielemans opened this issue 5 years ago • 3 comments

It seems that use_SYSTEM_ACE defaults to ON, and yet even though Ander didn't have ACE installed, no error was thrown. Strange given that the following is present in External_ACE.cmake:

find_package(${proj} ${${externalProjName}_REQUIRED_VERSION} REQUIRED)

Originally posted by @rijobro in https://github.com/CCPPETMR/SIRF-SuperBuild/issues/318#issuecomment-587109218

KrisThielemans avatar Feb 18 '20 07:02 KrisThielemans

@AnderBiguri could you try to add the following after the find_package call please?


if (NOT ACE_FOUND)
   message(FATAL_ERROR "ACE not found!")
endif()

paskino avatar Feb 18 '20 14:02 paskino

@paskino OK I will try after I manage to install the SuperBuild. I solved it by getting ACE and ultimately. I will try to unset USE_SYSTEM_ACE and give it a go later....

AnderBiguri avatar Feb 18 '20 14:02 AnderBiguri

see also #156

paskino avatar Mar 31 '20 13:03 paskino