Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F386499
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Size
766 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 218a65a..6979d5e 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -1,14 +1,19 @@
if ( ROSA_COMPILER_IS_GCC_COMPATIBLE )
# Allow exceptions by removing restricting flag (needed by cxxopts)
remove("-fno-exceptions" CMAKE_CXX_FLAGS)
# Allow dynamic casts by removing restriction flag (needed by cxxopts)
remove("-fno-rtti" CMAKE_CXX_FLAGS)
+elseif ( MSVC )
+
+ # Exceptions enabled for MSVC by default but need to allow RTTI
+ # (needed by cxxopts)
+ remove("/GR-" CMAKE_CXX_FLAGS)
endif()
execute_process(COMMAND git submodule update --init --recursive
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
# Add the different subdirectories
ADDALLSUBDIRS()
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Jul 3, 7:00 PM (5 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
157308
Default Alt Text
(766 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment