Skip to content

Commit

Permalink
update cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
spiroskou committed Aug 16, 2024
1 parent 6aee562 commit 43f3374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include_directories(Board Pieces)
# Add source to this project's executable.
add_executable (OpenChess "main.cpp" "Pieces/Piece.h" "Pieces/King.h" "Pieces/King.cpp" "Pieces/Rook.h" "Pieces/Rook.cpp" "Pieces/Queen.h" "Pieces/Queen.cpp" "Pieces/Pawn.h" "Pieces/Pawn.cpp" "Pieces/Bishop.h" "Pieces/Bishop.cpp" "Pieces/Knight.h" "Pieces/Knight.cpp" "Board/Board.cpp" "Board/Board.h" "ChessSDL.cpp" "ChessSDL.h" "Pieces/Piece.cpp")

target_link_libraries(OpenChess ${SDL2_LIBRARIES} ${SDL2_IMAGE_LIBRARIES})
target_link_libraries(OpenChess ${SDL2_LIBRARIES} SDL2_image::SDL2_image)

if (CMAKE_VERSION VERSION_GREATER 3.12)
set_property(TARGET OpenChess PROPERTY CXX_STANDARD 20)
Expand Down

0 comments on commit 43f3374

Please sign in to comment.