mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Add permissive to get octave to build on windows (maybe)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -331,6 +331,10 @@ if (COOLPROP_OCTAVE_MODULE)
|
||||
message(STATUS "Using -stdlib=libstdc++")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
set_target_properties(CoolProp PROPERTIES COMPILE_FLAGS "-fpermissive")
|
||||
endif()
|
||||
|
||||
set_target_properties(CoolProp PROPERTIES SUFFIX ".oct" PREFIX "")
|
||||
add_dependencies (${app_name} generate_headers)
|
||||
|
||||
Reference in New Issue
Block a user