2
0
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:
s1lentq 2021-03-23 01:14:18 +07:00
parent 80b849f39e
commit 7ea6686659
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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