removed space between and its opening parentheses

This commit is contained in:
p01arst0rm 2021-04-18 15:36:00 +01:00 committed by Ivan
parent 7618e7f3fb
commit b812ef2771
3 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/rpcs3/cmake_modules")
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
include(CheckCXXCompilerFlag) include(CheckCXXCompilerFlag)
if (NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release") message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release") set(CMAKE_BUILD_TYPE "Release")
endif() endif()
@ -36,7 +36,7 @@ if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
endif() endif()
find_program(CCACHE_FOUND ccache) find_program(CCACHE_FOUND ccache)
if (CCACHE_FOUND) if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif() endif()
@ -67,7 +67,7 @@ add_subdirectory(3rdparty)
unset(CMAKE_CXX_FLAGS) unset(CMAKE_CXX_FLAGS)
unset(CMAKE_C_FLAGS) unset(CMAKE_C_FLAGS)
if (NOT WIN32) if(NOT WIN32)
add_compile_options(-pthread) add_compile_options(-pthread)
endif() endif()

View file

@ -89,7 +89,7 @@ target_link_libraries(rpcs3 3rdparty::discord-rpc 3rdparty::qt5 3rdparty::hidapi
target_link_libraries(rpcs3 ${ADDITIONAL_LIBS}) target_link_libraries(rpcs3 ${ADDITIONAL_LIBS})
# Win resource file # Win resource file
if (WIN32) if(WIN32)
target_sources(rpcs3 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/rpcs3.rc") target_sources(rpcs3 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/rpcs3.rc")
endif() endif()

View file

@ -62,19 +62,19 @@ target_link_libraries(rpcs3_emu
3rdparty::pugixml 3rdparty::pugixml
3rdparty::span) 3rdparty::span)
if (MSVC) if(MSVC)
set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS /GR-) set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS /GR-)
else() else()
set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS -fno-rtti) set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS -fno-rtti)
endif() endif()
if (MSVC) if(MSVC)
set_source_files_properties("../util/yaml.cpp" PROPERTIES COMPILE_FLAGS /EHsc) set_source_files_properties("../util/yaml.cpp" PROPERTIES COMPILE_FLAGS /EHsc)
else() else()
set_source_files_properties("../util/yaml.cpp" PROPERTIES COMPILE_FLAGS -fexceptions) set_source_files_properties("../util/yaml.cpp" PROPERTIES COMPILE_FLAGS -fexceptions)
endif() endif()
if (MSVC) if(MSVC)
set_source_files_properties("../util/cereal.cpp" PROPERTIES COMPILE_FLAGS /GR) set_source_files_properties("../util/cereal.cpp" PROPERTIES COMPILE_FLAGS /GR)
else() else()
set_source_files_properties("../util/cereal.cpp" PROPERTIES COMPILE_FLAGS -frtti) set_source_files_properties("../util/cereal.cpp" PROPERTIES COMPILE_FLAGS -frtti)
@ -502,8 +502,8 @@ target_link_libraries(rpcs3_emu
) )
if (USE_PRECOMPILED_HEADERS) if(USE_PRECOMPILED_HEADERS)
if (COMMAND target_precompile_headers) if(COMMAND target_precompile_headers)
target_precompile_headers(rpcs3_emu PRIVATE "${RPCS3_SRC_DIR}/stdafx.h") target_precompile_headers(rpcs3_emu PRIVATE "${RPCS3_SRC_DIR}/stdafx.h")
else() else()
# Setup cotire # Setup cotire