-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cmake improvements #4578
Cmake improvements #4578
Conversation
rpcs3/CMakeLists.txt
Outdated
@@ -124,7 +128,7 @@ if(NOT MSVC) | |||
|
|||
add_compile_options(-msse -msse2 -mcx16 -mrtm) | |||
|
|||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | |||
if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a case of double expansion, drop the ${} around the variable name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, thank you for the review
rpcs3/CMakeLists.txt
Outdated
@@ -107,7 +107,11 @@ if(USE_NATIVE_INSTRUCTIONS) | |||
endif() | |||
|
|||
if(NOT MSVC) | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-invalid-pch -Wno-unused-command-line-argument -fexceptions") | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-invalid-pch -fexceptions") | |||
if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a case of double expansion, drop the ${} around the variable name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
It was introduced in commit 855d693 and used in the file rpcs3/Gui/GLGSFrame.cpp (wxWidgets) which doesn't exist anymore.
…sn't have this option)
Some improvements/cleanup for the CMake build system + cotire 1.8.0
Changelog for cotire 1.8.0