mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-05 10:10:44 +03:00
HLTV:Console: Fix typo
CMakeLists.txt: Fix typo linker flags
This commit is contained in:
parent
80b849f39e
commit
7ea6686659
@ -234,7 +234,7 @@ ISystemModule *System::FindModule(char *type, char *name)
|
||||
while (module)
|
||||
{
|
||||
if (Q_stricmp(type, module->GetType()) == 0
|
||||
&& (!name || Q_stricmp(name, module->GetType()) == 0)) {
|
||||
&& (!name || Q_stricmp(name, module->GetName()) == 0)) {
|
||||
return module;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ else()
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--wrap=expf")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--wrap=expf")
|
||||
endif()
|
||||
|
||||
set(PROJECT_SRC_DIR
|
||||
|
@ -46,7 +46,7 @@ else()
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--wrap=expf")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--wrap=expf")
|
||||
endif()
|
||||
|
||||
set(PROJECT_SRC_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user