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:
Ian Bell
2014-10-02 21:57:45 +02:00
parent 063b57ec9f
commit 379be8831d

View File

@@ -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)