Skip to content

Commit

Permalink
Remove examples from mandatory build
Browse files Browse the repository at this point in the history
  • Loading branch information
rozukke committed Sep 9, 2024
1 parent 329ef5b commit ebdbfac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ install(TARGETS ${PROJECT_NAME}
)

# Build examples
add_executable(pyramid example/pyramid.cpp)
add_executable(pyramid EXCLUDE_FROM_ALL example/pyramid.cpp)
target_link_libraries(pyramid ${PROJECT_NAME})
add_executable(hello_minecraft example/hello_minecraft.cpp)
add_executable(hello_minecraft EXCLUDE_FROM_ALL example/hello_minecraft.cpp)
target_link_libraries(hello_minecraft ${PROJECT_NAME})

# CPack setup
Expand Down

0 comments on commit ebdbfac

Please sign in to comment.