mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix bitness handling in fortranFactory
This commit is contained in:
@@ -543,6 +543,11 @@ def fortranFactory(platform=1,bitness=1):
|
||||
fortran_folder = "build/wrappers/Fortran/detailed_example" #
|
||||
#
|
||||
cmake_args = ["-DCOOLPROP_STATIC_LIBRARY=ON","-DCOOLPROP_EXTERNC_LIBRARY=ON", ]
|
||||
|
||||
if bitness == bitnessID["32bit"]:
|
||||
cmake_args.append('-DFORCE_BITNESS_32')
|
||||
elif bitness == bitnessID["64bit"]
|
||||
cmake_args.append('-DFORCE_BITNESS_64')
|
||||
|
||||
if platform==platformID["windows"]:
|
||||
cmake_args += ["-G", "\"MinGW Makefiles\""]
|
||||
|
||||
Reference in New Issue
Block a user