Skip to content

Commit

Permalink
added -std=c++11 to c++ config
Browse files Browse the repository at this point in the history
updated readme with a badge
  • Loading branch information
Southclaws committed Apr 11, 2018
1 parent 58dd6e2 commit c321228
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if(WIN32)
add_definitions(-DGUID_WINDOWS)
elseif(UNIX)
add_definitions(-DGUID_LIBUUID)
set(CMAKE_CXX_FLAGS "-m32 -fvisibility=hidden")
set(CMAKE_CXX_FLAGS "-m32 -fvisibility=hidden -std=c++11")
set(CMAKE_C_FLAGS "-m32 -fvisibility=hidden")
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS OFF)
endif()
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pawn-uuid

[![sampctl](https://shields.southcla.ws/badge/sampctl-pawn--uuid-2f2f2f.svg?style=for-the-badge)](https://github.com/Southclaws/pawn-uuid)

uuid provides a simple UUID version 4 generator function.

What's a UUID? A UUID (Universal Unique Identifier) is a standardised
Expand Down Expand Up @@ -46,6 +48,8 @@ times a day. It's best to be safe when trying to generate unique identifiers.

## Installation

[Source and Binaries on GitHub](https://github.com/Southclaws/pawn-uuid)

Simply install to your project:

```bash
Expand Down

0 comments on commit c321228

Please sign in to comment.