mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-03 01:18:26 +00:00
cmake: Make sure we're using C++11
This commit is contained in:
@@ -44,6 +44,7 @@ set(PROJECT_NAME raylib_cpp_example)
|
||||
set(PROJECT_SOURCES main.cpp)
|
||||
add_executable(${PROJECT_NAME} ${PROJECT_SOURCES})
|
||||
set(raylib_VERBOSE 1)
|
||||
set_property(${PROJECT_NAME} PROPERTY CXX_STANDARD 11)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC raylib raylib_cpp)
|
||||
|
||||
# That's it! You should have an example executable that you can run. Have fun!
|
||||
|
||||
Reference in New Issue
Block a user