Skip to content

Commit

Permalink
hhhhhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
ToffyMTA committed Aug 27, 2024
1 parent ed51361 commit fb0c235
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ endif()
add_samp_plugin(${PROJECT_NAME} ${PLUGIN_SOURCES})

if(WIN32)
add_definitions(-DNOMINMAX)
add_definitions(-DNOMINMAX)
else()
set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY COMPILE_FLAGS " -fno-strict-aliasing")
set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS " -lrt")
set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY COMPILE_FLAGS " -fno-strict-aliasing -Wno-nonnull")
set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS " -lrt")
endif()

add_definitions(
Expand Down

0 comments on commit fb0c235

Please sign in to comment.