-
Notifications
You must be signed in to change notification settings - Fork 155
Description
Per the docs and CMake, I see there are still:
-D32BIT "Build 32-bit (r4) FMS library" DEFAULT: OFF
-D64BIT "Build 64-bit (r8) FMS library" DEFAULT: OFF
as options. However, I'm not sure you can build FMS (2025.04) any more with both on. I tried recently building FMS with those both on (since that is the way we've built it with GEOS since time immemorial) but when you try, you get a hojillion CMake errors like:
CMake Error at CMakeLists.txt:784 (target_link_libraries):
Target "check_time_sum" links to:
FMS::fms
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
I think that's because when you build with -D32BIT=ON -D64BIT=ON the targets created are FMS::FMS_r4 and FMS::fms_r8 but the CMake is assuming the FMS target will be FMS::fms.
For now, I'm going to try and see if I can get the multi-precision variant (aka FMS::fms) working with GEOS because, well, that's what we actually want to use, but I wanted to ask if this was expected.
Perhaps the CMake being triggered should be avoided if not building as multi-precision?