Skip to content
Snippets Groups Projects
Commit 91f0ccea authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Update CMakeLists.txt

parent 0ba9ae9d
No related merge requests found
......@@ -189,7 +189,13 @@ set_target_properties ( DataObjects PROPERTIES OUTPUT_NAME MantidDataObjects
if (OSX_VERSION VERSION_GREATER 10.8)
set_target_properties ( DataObjects PROPERTIES INSTALL_RPATH "@loader_path/../MacOS")
endif ()
# Intensive use of templated libaries can cause large objects to be generated. These require
# an additional flag in MSVC.
if ( MSVC )
set_target_properties ( DataObjects PROPERTIES COMPILE_FLAGS "/bigobj" )
endif ()
# Add to the 'Framework' group in VS
set_property ( TARGET DataObjects PROPERTY FOLDER "MantidFramework" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment