Material: fix windows debug builds
Material: fix cmake linking of yaml-cpp<0.7.0 write version in final report
This commit is contained in:
committed by
Chris Hennes
parent
5d3de598e7
commit
0910d7e814
@@ -30,9 +30,18 @@ include_directories(
|
||||
)
|
||||
list(APPEND Material_LIBS
|
||||
${QtConcurrent_LIBRARIES}
|
||||
${YAML_CPP_LIBRARIES}
|
||||
)
|
||||
|
||||
if(yaml-cpp_VERSION VERSION_LESS 0.7.0)
|
||||
list(APPEND Material_LIBS
|
||||
${YAML_CPP_LIBRARIES}
|
||||
)
|
||||
else()
|
||||
list(APPEND Material_LIBS
|
||||
yaml-cpp::yaml-cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
generate_from_xml(Array2DPy)
|
||||
generate_from_xml(Array3DPy)
|
||||
generate_from_xml(MaterialManagerPy)
|
||||
|
||||
Reference in New Issue
Block a user